mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Revise logging .conf files
This commit is contained in:
committed by
Dan Christian Bogos
parent
c423d1e81f
commit
262c1bd981
@@ -8,6 +8,6 @@
|
||||
sharedscripts
|
||||
su root adm
|
||||
postrotate
|
||||
/usr/lib/rsyslog/rsyslog-rotate
|
||||
/usr/lib/rsyslog/rsyslog-rotate
|
||||
endscript
|
||||
}
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
if $programname contains "cgr-engine" or $programname contains "CGRateS" then /var/log/cgrates/CGRateS.log
|
||||
& stop
|
||||
if ($programname startswith 'cgr-engine' or $msg contains 'CGRateS') then {
|
||||
action(type="omfile" File="/var/log/cgrates/CGRateS.log")
|
||||
stop
|
||||
}
|
||||
Reference in New Issue
Block a user