Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[SRX] New knob allow-duplicates added in syslog hierarchy



Article ID: KB21450 KB Last Updated: 14 Jul 2011Version: 1.0
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 Debug Jul 14 05:24:39 /kernel: watchdog: Time since last watchdog strobe: 31
7/14/2011 13:24 Info Jul 14 05:24:39 last message repeated 4 times
7/14/2011 13:24 Info Jul 14 05:24:19 last message repeated 6 times --- previous message "/kernel: pcf8584bus_read: delay is changed from 50 to 150 usec" repeated
7/14/2011 13:24 Info Jul 14 05:24:09 /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]

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search