mirror of https://github.com/omar-polo/gmid.git
sort logopt
This commit is contained in:
parent
a250aff257
commit
3a93c90445
14
parse.y
14
parse.y
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue