diff options
author | Omar Polo <op@omarpolo.com> | 2023-07-26 08:10:12 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-07-26 08:10:12 +0000 |
commit | 46bcc4ea95b03fe81ad361ee02bd021a7618e5a9 (patch) | |
tree | 16728cce2ffae1c408d6807303da4f9598894121 /parse.y | |
parent | cba01a868748013f838c28ad8005c8377160c76f (diff) |
add log syslog off; don't turn syslog off when log access is specified
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -260,9 +260,11 @@ logopts : /* empty */ | logopts logopt optnl ; -logopt : SYSLOG { - free(conf->log_access); - conf->log_access = NULL; +logopt : SYSLOG OFF { + conf->log_syslog = 0; + } + | SYSLOG { + conf->log_syslog = 1; } | ACCESS string { free(conf->log_access); |