Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Custom logfile in /var/log is removed automatically

$
0
0

Hello guys,

 

I would be obliged if someone could help me with the following problem with EdgeMAX EdgeRouter Pro: I have set up a transition script for load-balancing logging status changes of the balanced lines. This script appends such changes to a file stored in /var/log/. Unfortunately this file called "myWlbLog" is removed periodically --- I suppose monthly.

 

I wonder why that happens, because I did not find neither a logrotate nor a cron "job" where /var/log/ is periodically cleared in general... I am quite new to Linux and its "specials" (and BTW I am rather desktop software coder than system integrator)  ;-)

 

My aim is to take that file before removing to analyse its content.

 

How could I accomplish that? Should I add a logrotate job for "myWlbLog" or is there a better way?

 

Thank you very much in advance for your helpful answers.

 


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>