Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Rotating IW logs on a Win2k box
seeDerekNow
Does anyone here automatically rotate their IW logs on a win2k box without having to bring down Teamsite? If you do, I'd love to hear your thoughts.
Derek
Find more posts tagged with
Comments
sajiddc
hmm.. Interesting question. iwserver maintains a lock on the iwevents.log and iwtrace.log file hence rotating may not be possible without stopping teamsite. What you can do is write a batch script that stops the teamsite service, rotates the log file and restarts the service. To stop the iwserver service you will need to issue a command like the following:
net stop iwserver
net start iwserver
Hope that helps.
Migrateduser
I would agree with Sajiddc, the fact that the server has the logs
open for writting is the issue.
I think that there might be a way to do this (apache has the ability to use "piped logs" which can be rotated as the process that writes to them does not keep the log open on a constant basis). The problem being is that this is not something that could be done without some changes to iwserver (might be a good feature request however).
sajiddc
It does make a good feature request. I wonder why this issue has not surfaced any earlier.