Skip to content

Commit

Permalink
mxqd: Change default for --no-log in development build
Browse files Browse the repository at this point in the history
fixes dbc742d
  • Loading branch information
mariux committed Oct 24, 2015
1 parent 3523658 commit 425226e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mxqd.c
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,10 @@ int server_init(struct mxq_server *server, int argc, char *argv[])
arg_server_id = "main";
arg_hostname = mx_hostname();

#ifdef MXQ_DEVELOPMENT
arg_nolog = 1;
#endif

arg_initial_path = MXQ_INITIAL_PATH;
arg_initial_tmpdir = MXQ_INITIAL_TMPDIR;

Expand Down Expand Up @@ -1833,7 +1837,7 @@ int main(int argc, char *argv[])
mx_log_info(" by Marius Tolzmann <tolzmann@molgen.mpg.de> " MXQ_VERSIONDATE);
mx_log_info(" Max Planck Institute for Molecular Genetics - Berlin Dahlem");
#ifdef MXQ_DEVELOPMENT
mx_log_warning("DEVELOPMENT VERSION: Do not use in production environments.\n");
mx_log_warning("DEVELOPMENT VERSION: Do not use in production environments.");
#endif
mx_log_info("hostname=%s server_id=%s :: MXQ server started.", server.hostname, server.server_id);
mx_log_info(" host_id=%s", server.host_id);
Expand Down

0 comments on commit 425226e

Please sign in to comment.