This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Limit SQL Error Log Size

I'm running NPM v8.5.1 on SQL 2005 Express Server. When DB reaches 4GB, Orion can't write to it anymore. It balloons

C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG

causing it to take up disk space. Is there a way to limit log at certain size either by

* overwrite old entries
* rotate log

I googled msdn.microsoft.com/.../ms182512.aspx, but not sure how to apply it to a script. Can someone please give me few pointers?