Support Support Downloads Knowledge Base Service Request Manager My Juniper 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

0

0

Article ID: KB21450 KB Last Updated: 14 Jul 2011Version: 1.0
Summary:
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".
Symptoms:
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
Solution:
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.

Security Alerts and Vulnerabilities

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