Announcement

Collapse
No announcement yet.

Simple Log Rotation Script

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    DaveB,

    Create a small script called Clearmemlog.txt:

    Run this script just before you run your script to rotate your disk log files and your memory logs will be in sync with your disk log files.
    It could even be run from the same event.

    I suppose this could be added as an option to the rotatelog script?

    HTH,
    Ken

    Comment


      #17
      thanks, I think I'll try just adding that to the last line of the script, and see what happens tonight.

      Comment


        #18
        I have pretty much converted my whole web interface for HS to an IIS/ASP version so it really never occured to me to clear the memory log. My ASP page that reads the log just gets the one on the disk. Which was a real problem without the rotatelog script.

        That was just an oversite on my part for those of you who use HS's web server.

        Adding the hs.Clearlog that was mentioned above should fix you up though.

        Rob

        Comment

        Working...
        X