Re: Application Event Log filling up
Re: Application Event Log filling up
- Subject: Re: Application Event Log filling up
- From: Cliff Tuel <email@hidden>
- Date: Mon, 16 Dec 2002 16:31:26 -0800
> I have an application running on a NT machine and it seems to write tons
> of messages to the NT Event Log. I have to clear the log fairly often.
> The messages are like the one below
>
> Dec 12 14:41:04 APP1[358] Terminated Session = dfc640
> Dec 12 14:41:04 APP1[358] Terminating Session = af3cb0
>
> Is there a way to eliminate these messages begin written to the log?
The quick answer is to open EventViewer, and set its preferences to
overwrite entries when full. The real solution is find the code doing the
logging, and if you're using println(), then comment-out that code (tsk tsk)
or if you're using NSLog, see the NSLog docs.
> I am also wondering if all of this logging is slowing down the application.
Unlikely. Logging should be buffered and asynchronous.
--
Cliff Tuel email@hidden http://apple.com/services/technicalsupport
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.