%O needs mod_logio, which isn't enabled by default everywhere, so it also shouldn't be used as default fallback LogFormat.tags/v1.0.4
'LogLevel': site.get('LogLevel', 'warn'), | 'LogLevel': site.get('LogLevel', 'warn'), | ||||
'ErrorLog': site.get('ErrorLog', '{0}/{1}-error.log'.format(map.logdir, sitename)), | 'ErrorLog': site.get('ErrorLog', '{0}/{1}-error.log'.format(map.logdir, sitename)), | ||||
'LogFormat': site.get('LogFormat', '"%a %l %u %t \\"%r\\" %>s %O \\"%{Referer}i\\" \\"%{User-Agent}i\\""'), | |||||
'LogFormat': site.get('LogFormat', '"%a %l %u %t \\"%r\\" %>s %b \\"%{Referer}i\\" \\"%{User-Agent}i\\""'), | |||||
'CustomLog': site.get('CustomLog', '{0}/{1}-access.log'.format(map.logdir, sitename)), | 'CustomLog': site.get('CustomLog', '{0}/{1}-access.log'.format(map.logdir, sitename)), | ||||
'ProxyRequests': site.get('ProxyRequests', 'Off'), | 'ProxyRequests': site.get('ProxyRequests', 'Off'), |
'LogLevel': site.get('LogLevel', 'warn'), | 'LogLevel': site.get('LogLevel', 'warn'), | ||||
'ErrorLog': site.get('ErrorLog', '{0}/{1}-error.log'.format(map.logdir, sitename)), | 'ErrorLog': site.get('ErrorLog', '{0}/{1}-error.log'.format(map.logdir, sitename)), | ||||
'LogFormat': site.get('LogFormat', '"%h %l %u %t \\\"%r\\\" %>s %O"'), | |||||
'LogFormat': site.get('LogFormat', '"%h %l %u %t \\\"%r\\\" %>s %b"'), | |||||
'CustomLog': site.get('CustomLog', '{0}/{1}-access.log'.format(map.logdir, sitename)), | 'CustomLog': site.get('CustomLog', '{0}/{1}-access.log'.format(map.logdir, sitename)), | ||||
'RedirectSource': site.get('RedirectSource', '/'), | 'RedirectSource': site.get('RedirectSource', '/'), |