Greetings:I have read concerns expressed around 24/7 availability and managing the general maintenance (backup, log rotation and so forth) of the application. For log rotation, there are applications, such as Apache, IIS, WebSphere, WebLogic, that internally manage their logs without services being affected so it seems feasible. Now, how could that be implemented for TeamSite...has anyone thought about ability to rotation TS logs (iwtrace, iwserver, iwevents, ...) without stopping/freezing the services and what was concluded? Looking to script this and researching the means to which this can be accomplished...thanks!Env: TS 6.7.1 Windows Server 2003 Enterprise Ed.Regards,-Yama
According to support article https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=1333, you'll need to shutdown the iwserver service in order to rotate the logs.
Since that article is from: 6/2/2002 9:39:32 AM I think Wally was hoping that may have been changed by now.
on Solaris...we can easily do it without shuting down the TS...cat /dev/null/>logifle name with pathAbove command will clean up the content while running TS Services and no permission will be changed...I amusing the same command for my system for log rotation
That's not rotation, in and of itself, it's clearing out or zeroing the log files - i.e. no preservation of historical information.You could preface the above with a copy command, which leaves a window of opportunity for something to be written into the log after the copy and before the clearing out - but it's generally not that bad.The problem with the above approach is that, at least occasionally, instead of zeroing out the file, it replaces the content with null characters. I've never bothered to figure out why that happens sometimes and not others though (anyone?)Regardless, it's still not "graceful" - OD's log file rotation is (except for one of the releases on Windows [6.1?] where one of the log files would grow to 5Mb and then hang deployments ;-)
Currently, the log rotation without restarting the service feature is still missing for a few log files, iwtrace, iwserver, iwevents, servletd_out.A full log management service which includes the above feature is coming in the next major release.For the time being, the only proper workaround is to schedule a short server downtime to run a "stop-rotate-start" script. I wouldn't expect this would take more than 2~5 minutes. And I think it wouldn't be too bad doing this monthly or weekly.--Michael
I found this article, since the log files access.log and the servletd_out.log files are the major ones to grow in size. they can be rotated(though not an ideal rotation) without restart of ui services. We can archive/delete the older log files, however, the . I guess this is useful until we finally get some good log management in TS7.x
To be clear, this article you mentioned only discusses how to rotate access.log. It does not help with any TeamSite specific logs, such as servletd_out.log. It would be nice if someone from Interwoven could say for sure whether automatic log rotation for all TS logs will be a part of 7.x
Dave -- I think you'll like it with TS 7
You are right Dave, but the solution mentioned does work for servletd_out.log, I haven't tried for other log files though.
Suah a tease you are. Why do you say that? I haven't even looked to see what's in TS7. Plus no one in their right mind would upgrade to a dot zero release. Right?