diff options
author | Omar Polo <op@omarpolo.com> | 2023-08-07 09:08:23 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2023-08-07 09:08:23 +0000 |
commit | 3a93c90445bc762cbef00d130feffd9a7f6b083f (patch) | |
tree | 07771f7309b5ef9c555cb5f099d4e56518bdf82d /parse.y | |
parent | a250aff257374bdd931e44efef4fc72618e0363d (diff) |
sort logopt
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -260,13 +260,7 @@ logopts : /* empty */ | logopts logopt optnl ; -logopt : SYSLOG OFF { - conf->log_syslog = 0; - } - | SYSLOG { - conf->log_syslog = 1; - } - | ACCESS string { +logopt : ACCESS string { free(conf->log_access); conf->log_access = $2; } @@ -282,6 +276,12 @@ logopt : SYSLOG OFF { | STYLE LEGACY { conf->log_format = LOG_FORMAT_LEGACY; } + | SYSLOG OFF { + conf->log_syslog = 0; + } + | SYSLOG { + conf->log_syslog = 1; + } ; vhost : SERVER string { |