A new config-knob -allow-duplicates, Since release 11.1, has been added in [edit system syslog] hierarchy, to allow the logging of real time messages instead of "last message repeated x times".
For example:
7/14/2011 13:24 172.27.186.128 Debug Jul 14 05:24:39 172.27.186.128: /kernel: watchdog: Time since last watchdog strobe: 31
7/14/2011 13:24 10.10.10.10 Info Jul 14 05:24:39 10.10.10.10: last message repeated 4 times
7/14/2011 13:24 10.10.10.10 Info Jul 14 05:24:19 10.10.10.10: last message repeated 6 times --- previous message "/kernel: pcf8584bus_read: delay is changed from 50 to 150 usec" repeated
7/14/2011 13:24 10.10.10.10 Info Jul 14 05:24:09 10.10.10.10: /kernel: pcf8584bus_read: delay is changed from 50 to 150 usec
In certain corner cases, customers would like to see real time log message, instead of -
last message repeated x times
. To meet this requirement, the allow-duplicates knob has been added since release 11.1.
This new config-knob is enabled per target level (file, host and user) as well as common to all targets, to make the turning ON / OFF easily. By default this knob will be OFF (for backward compatibility) and needs to be turned ON if needed.
{primary:node1}[edit system syslog]
root# set ?
Possible completions:
allow-duplicates Do not suppress the repeated message for all targets --- new config knob
+ apply-groups Groups from which to inherit configuration data
+ apply-groups-except Don't inherit configuration data from these groups
> archive Archive file information
> console Console logging
> file File in which to log data
> host Host to be notified
source-address Use specified address as source address
> time-format Additional information to include in system log timestamp
> user Notify a user of the event
{primary:node1}[edit system syslog]