From 508d27e836fb0d56ecbf4233b8e1ffd2c96192b1 Mon Sep 17 00:00:00 2001 From: gezimbll Date: Wed, 26 Feb 2025 15:16:33 +0100 Subject: [PATCH] updated rsyslog conf to include logs with tag CGRateS --- data/conf/logging/rsyslog.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/conf/logging/rsyslog.conf b/data/conf/logging/rsyslog.conf index dcc15a5cf..98427e8b7 100644 --- a/data/conf/logging/rsyslog.conf +++ b/data/conf/logging/rsyslog.conf @@ -1,4 +1,4 @@ -if ($programname startswith 'cgr-engine' or $msg contains 'CGRateS') then { +if ($programname startswith 'cgr-engine' or $programname startswith 'CGRateS') then { action(type="omfile" File="/var/log/cgrates/CGRateS.log") stop } \ No newline at end of file