added support for log_folder