View previous topic :: View next topic |
Author |
Message |
JuergenF
Joined: 26 Jan 2003 Posts: 331 Location: Germany, North Rhine-Westphalia
|
Posted: Wed Apr 07, 2004 5:11 am Post subject: Change Log-File every day - no cleanup before start |
|
|
Dear all,
I have configured for Logging in HM 4.42 to "Automatically change the name every day"
to the name C:\TEMP\_user\HostMonitor\Logs\%dddd%-log.dbf (Monday, Tuesday, ...) .
Works so far.
No I found in the Logfile from Tuesday records from 04/04/06 a_n_d from 04/03/30.
Seems the log file is not cleared before starting to write the new data on 04/04/06.
Is there a possibility to tell HM to clear "old" data (from the last Tuesday) before starting to log this Tuesday.
Thanks |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Apr 07, 2004 8:05 pm Post subject: |
|
|
Quote: | Seems the log file is not cleared before starting to write the new data on 04/04/06. |
Yes, of course. HostMonitor may clear log only in one case - size of the log exceeds specified limit.
Actually its not so simple question. What is new data? If we just change HostMonitor behavior to clear every log file that was not used last day, it will make a lot of problems for many customers
Regards
Alex |
|
Back to top |
|
|
JuergenF
Joined: 26 Jan 2003 Posts: 331 Location: Germany, North Rhine-Westphalia
|
Posted: Thu Apr 08, 2004 12:40 am Post subject: |
|
|
Dear Alex,
what about a new checkbox in the log-setting-dialog to force clearing when logfile is switched ?
regards
Juergen |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Apr 08, 2004 2:42 pm Post subject: |
|
|
Yes, it could be implemented. I think we need some other new options...
Regards
Alex |
|
Back to top |
|
|
JuergenF
Joined: 26 Jan 2003 Posts: 331 Location: Germany, North Rhine-Westphalia
|
Posted: Mon Oct 18, 2004 12:51 pm Post subject: |
|
|
Version 4.74
Thanks a lot.
Juergen |
|
Back to top |
|
|
|