|
@@ -850,6 +850,10 @@ class ServerOptions(Options):
|
|
maxbytes = byte_size(get(section, mb_key, '50MB'))
|
|
maxbytes = byte_size(get(section, mb_key, '50MB'))
|
|
logfiles[mb_key] = maxbytes
|
|
logfiles[mb_key] = maxbytes
|
|
|
|
|
|
|
|
+ sy_key = '%s_syslog' % k
|
|
|
|
+ syslog = boolean(get(section, sy_key, False))
|
|
|
|
+ logfiles[syslog] = syslog
|
|
|
|
+
|
|
if lf_val is Automatic and not maxbytes:
|
|
if lf_val is Automatic and not maxbytes:
|
|
self.parse_warnings.append(
|
|
self.parse_warnings.append(
|
|
'For [%s], AUTO logging used for %s without '
|
|
'For [%s], AUTO logging used for %s without '
|
|
@@ -873,11 +877,13 @@ class ServerOptions(Options):
|
|
stdout_events_enabled = stdout_events,
|
|
stdout_events_enabled = stdout_events,
|
|
stdout_logfile_backups=logfiles['stdout_logfile_backups'],
|
|
stdout_logfile_backups=logfiles['stdout_logfile_backups'],
|
|
stdout_logfile_maxbytes=logfiles['stdout_logfile_maxbytes'],
|
|
stdout_logfile_maxbytes=logfiles['stdout_logfile_maxbytes'],
|
|
|
|
+ stdout_syslog=logfiles['stdout_syslog'],
|
|
stderr_logfile=logfiles['stderr_logfile'],
|
|
stderr_logfile=logfiles['stderr_logfile'],
|
|
stderr_capture_maxbytes = stderr_cmaxbytes,
|
|
stderr_capture_maxbytes = stderr_cmaxbytes,
|
|
stderr_events_enabled = stderr_events,
|
|
stderr_events_enabled = stderr_events,
|
|
stderr_logfile_backups=logfiles['stderr_logfile_backups'],
|
|
stderr_logfile_backups=logfiles['stderr_logfile_backups'],
|
|
stderr_logfile_maxbytes=logfiles['stderr_logfile_maxbytes'],
|
|
stderr_logfile_maxbytes=logfiles['stderr_logfile_maxbytes'],
|
|
|
|
+ stderr_syslog=logfiles['stderr_syslog'],
|
|
stopsignal=stopsignal,
|
|
stopsignal=stopsignal,
|
|
stopwaitsecs=stopwaitsecs,
|
|
stopwaitsecs=stopwaitsecs,
|
|
stopasgroup=stopasgroup,
|
|
stopasgroup=stopasgroup,
|