SRX Services Gateway
SRX Services Gateway

Logs for shutdown or reboot

‎04-10-2018 11:43 AM

Hello eveybody,

I just want to configure logs on SRX320 to get the "shutdown" or " reboot" message, please help me out the necessary config commands. Also what file size should be enough to keep logs for about one month.  

SRX Services Gateway

Re: Logs for shutdown or reboot

‎04-14-2018 08:17 AM

shutdown or reboot will clear and restart all local logging so you will need to get these from a syslog centralized system if you want to save them for reference.


Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
SRX Services Gateway
Accepted by topic author AZkhan
‎02-11-2019 09:01 AM

Re: Logs for shutdown or reboot

‎04-16-2018 03:38 AM

Thanks dear for your valuable reply. But i am getting logs of previous dates too locally saved.  Now i have created saperate files for USER traffic logs and also Turned-OFF NTP. USER, and Interactive-commands " messages" files.  This will keep the files from growing too large and ultimately over-riding the previous logs of interest. 

And will try to find out process  SYSTEM_ABNORMAL_SHUTDOWN.


archive size 100k files 3;
user * {
any emergency;
file messages {
any info;
authorization info;
ntp none;
user none;
interactive-commands none;
archive size 640k files 10;
file interactive-commands {
interactive-commands error;
user info;
archive size 320k files 5;



Please suggest a betterway if possible to keep the logging more accurate.