Write to log files in case log directory
Merge pull request #739 from rcordovano/log_files_to_logs_folder

Log files to logs folder