mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-21 01:40:16 -05:00
log: caller can control syslog level
This commit is contained in:
parent
7a3fb9284e
commit
a0fcec3a3d
4 changed files with 19 additions and 7 deletions
2
client.c
2
client.c
|
|
@ -40,7 +40,7 @@ print_usage(const char *prog_name)
|
|||
int
|
||||
main(int argc, char *const *argv)
|
||||
{
|
||||
log_init(LOG_FACILITY_USER);
|
||||
log_init(LOG_FACILITY_USER, LOG_CLASS_WARNING);
|
||||
int ret = EXIT_FAILURE;
|
||||
|
||||
const char *const prog_name = argv[0];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue