Logging to file in execdir implemented