Skip to content

Commit

Permalink
ngfw-14672 updating untangle.conf file for syslog configuration of uv…
Browse files Browse the repository at this point in the history
…m logs
  • Loading branch information
DhirajM09 committed Jun 20, 2024
1 parent 891d136 commit 651a6e1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions untangle-system-config/files/etc/rsyslog.d/untangle.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ $template DynFile,"/var/log/uvm/%SYSLOGTAG:F,58:1%.log"
:syslogtag, startswith, "untangleclassd" -/var/log/untangle-classd/monitor.log
& stop

:syslogtag, startswith, "uvm" -/var/log/uvm/uvm.log
& stop

## FIXME
# the next 3 rules should ideally not be enabled at all when logs are
# sent to a remote syslog instance, but at least the local* facilities
Expand All @@ -38,8 +41,8 @@ $template DynFile,"/var/log/uvm/%SYSLOGTAG:F,58:1%.log"
# whatever behavior SyslogManagerImpl tries to specify will come too
# late.

if ($syslogfacility-text == 'local0') then -/var/log/uvm/uvm.log
& stop
# if ($syslogfacility-text == 'local0') then -/var/log/uvm/uvm.log
# & stop

# if ($syslogfacility-text == 'local1') then -/var/log/uvm/events.log
# & stop
Expand Down

0 comments on commit 651a6e1

Please sign in to comment.