Forum Discussion

Anas_Hijjawi_44's avatar
Anas_Hijjawi_44
Icon for Nimbostratus rankNimbostratus
Oct 13, 2013

Log Messages Disappeared

Hi, We were looking at the traffic logs, there was around 37 pages but suddenly all disappeared. We tried to search for them in the ltm1,2,3,4,5,6,7 files in the /var/log location but couldn't found them.

 

Any Idea about this issue

 

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Sounds like the logs rollover ran while you were looking at the logs. Check the other gzip'ed log files. You should find your logs in there.

     

    Other than that, the only real explanation is that someone flushed the ltm logfile by hand (e.g. an 'accidental' 'cat /dev/null > /var/log/ltm' or similar - maybe just rm'ed it (I think syslog-ng is set to autocreate the logsfiles isn't it?).

     

    H

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    I take it it didn't roll over and get compressed? What are the other /var/log/ltm.* files looking like?

     

    H

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    Have the files themslves disappeared? Or are they suddenly 0 length? Or something else?