AST-1557 Create logs directory if it does not exist
Currently, the pipeline gives an error that it can't create the logfile if the 'logs' directory does not exist, which isn't very user friendly.
Currently, the pipeline gives an error that it can't create the logfile if the 'logs' directory does not exist, which isn't very user friendly.