Allow manual setting of log_file and logger