If you're on Solaris, try "man logadm" to get an idea how to rotate logs 
with out of the box tools. It's quite flexible and does everything I need, 
including keeping n historic versions of a log of which (n-2) are gzip'ped 
and stuff like that. root's crontab has a logadm launch per default 
everyday at 1.13 pm, AFAIR.

Freundliche Grüße / Best regards

Christian Fieres

Mainova AG
Planung und Betrieb Infrastruktur (M3-ON2)
Service Operation Center
Solmsstraße 38
60623 Frankfurt

Telefon / Phone (069) 2 13-2 36 17
Mobil / Mobile (0170) 5 60 15 63
Telefax / Facsimile (069) 2 13-9 62 36 17
E-Mail [email protected]


Mainova Aktiengesellschaft - Solmsstraße 38 - D-60623 Frankfurt am Main
Vorsitzende des Aufsichtsrates: Oberbürgermeisterin Dr. h. c. Petra Roth - 
Vorstand: Dr. Constantin H. Alsheimer (Vorsitzender), Lothar Herbst, 
Joachim Zientek 
Sitz der Aktiengesellschaft: Frankfurt am Main - Amtsgericht Frankfurt HRB 
7173 - USt-ID-Nr. DE 114184034 


Müssen Sie diese E-Mail wirklich ausdrucken? - fragt der Mainova 
Energiecoach. 
Mehr Tipps und Antworten zum Thema Energieeffizienz unter 
http://www.mainova-energiecoach.de



"Keßler, Christoph" <[email protected]> 
19.08.2009 12:03
Bitte antworten an
"Keßler, Christoph" <[email protected]>


An
"spectrum" <[email protected]>
Kopie

Thema
AW: [spectrum] Backup for NOTIFIER.OUT 






Hello Siegfried,
Maybe logrotate is the choice (if you use linux, maybe Solaris got such a 
tool too - doesn't know)

http://linuxcommand.org/man_pages/logrotate8.html

I don't try it on Spectrum logfiles, but I think there is no difference 
between webserver logfiles and spectrum logfiles :-)

Regards,
 Christoph

-- 
Christoph Keßler                E-Mail: [email protected]
  amasol AG, Elsenheimerstraße 7, 80687 München, Germany
  Phone: +49 89 1894743-24        Fax: +49 89 1894743-99
 
amasol Aktiengesellschaft für Informations- und Kommunikationstechnologie
Aufsichtsrat: Prof. Dr. Stephan Kaiser (Vorsitzender)
Vorstand: Wolfgang Bachmann, Stefan Deml, Thomas Dirsch, Johann Maurer
Amtsgericht München HRB 128327, Sitz der Gesellschaft München
> -----Ursprüngliche Nachricht-----
> Von: Scholtyssek, Siegfried [mailto:[email protected]]
> Gesendet: Mittwoch, 19. August 2009 09:15
> An: spectrum
> Betreff: AW: [spectrum] Backup for NOTIFIER.OUT
> 
> Hi Danny,
> 
> thanks but it works not as I wished.
> After executing  "echo > NOTIFIER.OUT" I cleared it but if a new alarm
> appears the outputfile takes its old size again :(
> 
> One another idea ?
> 
> Thanks
> Siggi
> 
> -----Ursprüngliche Nachricht-----
> Von: Danny Buthge [mailto:[email protected]]
> Gesendet: Dienstag, 18. August 2009 15:53
> An: spectrum
> Cc: spectrum
> Betreff: Re: [spectrum] Backup for NOTIFIER.OUT
> 
> Scholtyssek, Siegfried wrote:
> > Hi,
> 
> Hi Siegfried
> 
> > How I can manage the outputfile. I do not want to stop and start the
> > AlarmNotifier.
> 
> You can clear the .OUT file via CLI/CMD "echo > NOTIFIER.OUT".
> 
> HTH,
> 
> Danny Buthge
> --
> BCC Business Communication Company GmbH
> Mittelweg 7, 38106 Braunschweig
> Tel. +49 531 2084-361   Fax -398
> 
> mailto:[email protected] http://www.bcc.de
> 
> Registergericht: Braunschweig HRB 4460
> Geschäftsführung: Dipl.-Ing. (FH) Josef Glöckl-Frohnholzer
> 
> ---
> To unsubscribe from spectrum, send email to [email protected] with the
> body: unsubscribe spectrum [email protected]
> 
> ---
> To unsubscribe from spectrum, send email to [email protected] with the
> body: unsubscribe spectrum [email protected]

---
To unsubscribe from spectrum, send email to [email protected] with the 
body: unsubscribe spectrum [email protected]



---
To unsubscribe from spectrum, send email to [email protected] with the body: 
unsubscribe spectrum [email protected]

Reply via email to