Fixed a bug where the action log wouldn't be placed in the specified log directory.