log cmdline for info as well as debug
Adrian Smith
10 years ago
410 | 410 | if (!freopen(logfile, "a", stderr)) { |
411 | 411 | fprintf(stderr, "error opening logfile %s: %s\n", logfile, strerror(errno)); |
412 | 412 | } else { |
413 | if (log_output >= lDEBUG || log_stream >= lDEBUG || log_decode >= lDEBUG || log_slimproto >= lDEBUG) { | |
413 | if (log_output >= lINFO || log_stream >= lINFO || log_decode >= lINFO || log_slimproto >= lINFO) { | |
414 | 414 | fprintf(stderr, "\n%s\n", cmdline); |
415 | 415 | } |
416 | 416 | } |