diff --git a/dev.conf b/dev.conf index 15022e21..e7775d5c 100644 --- a/dev.conf +++ b/dev.conf @@ -6,9 +6,10 @@ file perms = 666 stdout_format = "%d:%ms [%V] [%c] %f:%L %m%n" file_format = "%d:%ms [%V] %f:%L %m%n" +syslog = "%d:%ms %H neuron[%p]: [%V] [%c] %f:%L %m%n" [rules] *.* "./logs/%c.log", 50MB * 1 ~ "./logs/%c.#2s.log"; file_format *.* >stdout; stdout_format -*.* $remote_syslog; file_format +*.* $remote_syslog; syslog diff --git a/zlog.conf b/zlog.conf index 0fdc1a9f..6621dae3 100644 --- a/zlog.conf +++ b/zlog.conf @@ -5,8 +5,9 @@ file perms = 666 [formats] simple = "%d:%ms [%V] %f:%L %m%n" +syslog = "%d:%ms %H neuron[%p]: [%V] [%c] %f:%L %m%n" [rules] *.* "./logs/%c.log", 50MB * 1 ~ "./logs/%c.#2s.log"; simple -*.* $remote_syslog; simple +*.* $remote_syslog; syslog