sort logopt

This commit is contained in:
Omar Polo 2023-08-07 09:08:23 +00:00
parent a250aff257
commit 3a93c90445
1 changed files with 7 additions and 7 deletions

14
parse.y
View File

@ -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 {