Service Desk Practitioners Forum
cancel

logserver.txt size

SOLVED
Go to solution
Highlighted
Kurt Depré
Regular Contributor.

logserver.txt size

Hi,

small question.
we have currently a serverlog of 1,4Gb on our production server.
I would like to keep the file as backup but can i start with a clean one? If yes anything to consider, Restart Service ?

thanks a lot
4 REPLIES
Mark O'Loughlin
Acclaimed Contributor.
Solution

Re: logserver.txt size

Hi,

you need to stop the application server service and rename the log file. Restart and a new one will be created.

Having a log file that size will affect the performance of OVSD so maybe rename it every week / month.
Kurt Depré
Regular Contributor.

Re: logserver.txt size

thanks for the quick answer
Jay Mistry
Outstanding Contributor.

Re: logserver.txt size

Its best to try and rotate the log files regularly, we tend to do ours once a month.

I got a script from Ruth Porter(see below)

@echo on
@cd "C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\server\bin"
@call stopserver.bat
@cd ..\log
@del logserver-7.txt
@ren logserver-6.txt logserver-7.txt
@ren logserver-5.txt logserver-6.txt
@ren logserver-4.txt logserver-5.txt
@ren logserver-3.txt logserver-4.txt
@ren logserver-2.txt logserver-3.txt
@ren logserver-1.txt logserver-2.txt
@ren logserver.txt logserver-1.txt
@call startserver.bat
exit


you can schedule this to run using the scheduler on the app server.

Jay
Kurt Depré
Regular Contributor.

Re: logserver.txt size

Thanks Jay, i was thinking along those lines.
You just saved me some work.