Revert "Logfiles are now writted to file instead of shared memory as a default."
This reverts commit 2477043d11bde7a2dd28ff9c5535e0b121ff8105.
This commit is contained in:
parent
91a962cae1
commit
b897c7da80
@ -992,7 +992,7 @@ static void usage(void)
|
||||
" -f|--config=... relative|absolute pathname of MaxScale configuration file\n"
|
||||
" (default: $MAXSCALE_HOME/etc/MaxScale.cnf)\n"
|
||||
" -l|--log=... log to file or shared memory\n"
|
||||
" -lfile or -lshm - defaults to file\n"
|
||||
" -lfile or -lshm - defaults to shared memory\n"
|
||||
" -v|--version print version info and exit\n"
|
||||
" -?|--help show this help\n"
|
||||
, progname);
|
||||
@ -1054,7 +1054,7 @@ int main(int argc, char **argv)
|
||||
char* cnf_file_arg = NULL; /*< conf filename from cmd-line arg */
|
||||
void* log_flush_thr = NULL;
|
||||
int option_index;
|
||||
int logtofile = 1; /* Use shared memory or file */
|
||||
int logtofile = 0; /* Use shared memory or file */
|
||||
ssize_t log_flush_timeout_ms = 0;
|
||||
sigset_t sigset;
|
||||
sigset_t sigpipe_mask;
|
||||
|
Loading…
x
Reference in New Issue
Block a user