LOG_TO_FILE support