topic Re: About logs in junos in Junoshttps://forums.juniper.net/t5/Junos/About-logs-in-junos/m-p/241138#M7781
<P>Hi,</P>
<P>Great thanks a lot !</P>
<P>&nbsp;</P>Tue, 06 May 2014 20:30:19 GMTherouka2014-05-06T20:30:19ZAbout logs in junoshttps://forums.juniper.net/t5/Junos/About-logs-in-junos/m-p/241064#M7775
<P>Hi,</P>
<P>I have setted the logs on the EX that I have at work. I would like to know if there is a logrotate / cron system to delete them by default or are they getting bigger and bigger ?</P>
<P>file messages {<BR />&nbsp;&nbsp;&nbsp; any any;<BR />&nbsp;&nbsp;&nbsp; authorization info;<BR />}<BR /><BR /></P>
<P>thanks</P>Tue, 06 May 2014 12:28:59 GMThttps://forums.juniper.net/t5/Junos/About-logs-in-junos/m-p/241064#M7775herouka2014-05-06T12:28:59ZRe: About logs in junoshttps://forums.juniper.net/t5/Junos/About-logs-in-junos/m-p/241068#M7776
<P>Initially, the logs are written in messages file. Once this file reaches the max size(default 128KB), it is compressed and renamed to messages.0.gz. Once messages file reaches again the max size, messages.0.gz is renamed to messages.1.gz and messages is compressed and renamed to messages.0.gz. And so on until you reach the maximum number of files(10 by default). After that, the oldest log file is lost as new logs needs to be generated and there is a limitation on the number of the files where logs can be written.</P>Tue, 06 May 2014 12:38:53 GMThttps://forums.juniper.net/t5/Junos/About-logs-in-junos/m-p/241068#M7776parau2014-05-06T12:38:53ZRe: About logs in junoshttps://forums.juniper.net/t5/Junos/About-logs-in-junos/m-p/241138#M7781
<P>Hi,</P>
<P>Great thanks a lot !</P>
<P>&nbsp;</P>Tue, 06 May 2014 20:30:19 GMThttps://forums.juniper.net/t5/Junos/About-logs-in-junos/m-p/241138#M7781herouka2014-05-06T20:30:19Z