If it's on a unix box check that some one has not turned on log rotation for 
that directory. Are there log.0 etc file there?

  ----- Original Message ----- 
  From: Steve Shipway 
  To: Cihan Subasi (Garanti Teknoloji) ; '[email protected]' 
  Sent: Monday, May 26, 2008 9:19 AM
  Subject: Re: [mrtg] .log files gets reset automatically


  Do you have any periodic cronjobs running on your server that look for (and 
delete) any and all *.log files?  If so, they'd be deleted, and the next run of 
MRTG would recreate them as empty.

   

  If you do have such a job, severely. re-educate.  the person who wrote it, 
since doing a "find / -name *.log -exec rm {} \;" is just stupid coding.  It 
should be restricted to a specific tree that is known to be safe.

   

  Steve

   


------------------------------------------------------------------------------

  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cihan Subasi 
(Garanti Teknoloji)



  For the last 2-3 months at midnight Central Time (GMT+6)  I started havind 
some of my .log files started to be reset without my intention. Is there a 
reason for that? I assumed first because my .log file size reaches a limit but 
some of the .log files arent't even 100K big.

   

  What could be reason of having my .log files to reset as they are run first 
time? thanks

   

        This message and attachments are confidential and intended solely for 
the individual(s) stated in this
        message. If you received this message although you are not the 
addressee, you are responsible to keep the
        message confidential. The sender has no responsibility for the accuracy 
or correctness of the
        information in the message and its attachments. Our company shall have 
no liability for any changes
        or late receiving, loss of integrity and confidentiality, viruses and 
any damages caused in
        anyway to your computer system.
       

        Bu mesaj ve ekleri, mesajda gonderildigi belirtilen kisi/kisilere 
ozeldir ve gizlidir. Bu mesajin muhatabi
        olmamaniza ragmen tarafiniza ulasmis olmasi halinde mesaj iceriginin 
gizliligi ve bu gizlilik yukumlulugune
        uyulmasi zorunlulugu tarafiniz icin de soz konusudur. Mesaj ve 
eklerinde yer alan bilgilerin dogrulugu ve
        guncelligi konusunda gonderenin ya da sirketimizin herhangi bir 
sorumlulugu bulunmamaktadir. Sirketimiz
        mesajin ve bilgilerinin size degisiklige ugrayarak veya gec 
ulasmasindan, butunlugunun ve gizliliginin
        korunamamasindan, virus icermesinden ve bilgisayar sisteminize 
verebilecegi herhangi bir zarardan
        sorumlu tutulamaz.
       



------------------------------------------------------------------------------


  _______________________________________________
  mrtg mailing list
  [email protected]
  https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to