This article provides information on how to create a log file records almost everything that happens in the device. Important points:
set system syslog file catch-all any any set system syslog file catch-all match "!RT_" < This will exclude the un-necessary traffic logs set system syslog file catch-all archive size 1m set system syslog file catch-all archive files 3
file catch-all { any any; match "!RT_"; archive size 1m files 3; }
Another file must be created to catch the traffic logs:
set system syslog file traffic-logs any any set system syslog file traffic-logs match "RT_" set system syslog file traffic-logs archive size 1m set system syslog file traffic-logs archive files 3 set system syslog file traffic-logs structured-data
file traffic-logs { any any match "RT_" archive size 1m files 3 structured-data; }
file list /var/log/catch-all? catch-all catch-all.0.gz catch-all.1.gz catch-all.2.gz