I have been asked if it is possible to log successes and failures (mainly failures) in the event logs of the server. I have tried setting Workflow Infrastructure event logs to verbose, but I am not seeing any failures when I run a workflow that has an error.
Currently there is not an action to write logs of the server.
It could done building your own custom action with C#