Support Support Downloads Knowledge Base Case 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

[EX] How to enable message logging



Article ID: KB23352 KB Last Updated: 07 Aug 2020Version: 2.0

This article provides information on how to enable message logging on an EX device.


By default, on EX switches, message logging is enabled. However, when the default configuration is mistakenly deleted, the switch will not log any messages/events in the system and can be suspected as a system issue.


The configuration for message logging was deleted. There are no messages files being created under the /var/log directory.


Use the following configuration command to enable/disable message logging:

Via the configuration mode (root#):

set/delete system syslog file messages any notice
set/delete  system syslog file messages authorization info
Modification History:
2020-08-06: Added related link to KB31181

Related Links

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