* advertising or publicity pertaining to the Software or any
* derivatives without specific, written prior permission.
*/
+#include <config.h>
#include "vlog.h"
#include <dirent.h>
#include "command-line.h"
#include "compiler.h"
+#include "timeval.h"
#include "util.h"
#include "vlog-socket.h"
" absolute path to a Unix domain socket\n"
"Actions:\n"
" -l, --list List current settings\n"
- " -s, --set=MODULE:FACILITY:LEVEL\n"
+ " -s, --set=MODULE[:FACILITY[:LEVEL]]\n"
" Set MODULE and FACILITY log level to LEVEL\n"
" MODULE may be any valid module name or 'ANY'\n"
- " FACILITY may be 'syslog' or 'console' or 'ANY'\n"
- " LEVEL may be 'emer', 'err', 'warn', or 'dbg'\n"
+ " FACILITY may be 'syslog' or 'console' or 'ANY' (default)\n"
+ " LEVEL may be 'emer', 'err', 'warn', or 'dbg (default)'\n"
" -h, --help Print this helpful information\n",
prog_name);
exit(exit_code);
size_t n_clients = 0;
set_program_name(argv[0]);
+ time_init();
short_options = long_options_to_short_options(long_options);
for (;;) {