Eric,

You'll need to set the WODebuggingEnabled to be NO (you can do this  
as a default or commandline argument to your app).

Also, as a side note, in WebObejcts 4, on WOComponent, there is a  
new method which you'll want to use for logging.

debugWithFormat:
- (void)debugWithFormat: (NSString *)aFormatString,... 
Like logWithFormat: , prints a message to the standard error device  
(stderr), but only prints the message if the WODebuggingEnabled user  
default option is YES. If WODebuggingEnabled is NO, the  
debugWithFormat: messages aren't printed. See logWithFormat: for  
information on the format of aFormatString.

Nader

Begin forwarded message:

From: Eric Hermanson <[EMAIL PROTECTED]>
Date: 1999-02-25 10:00:58 -0800
To: Multiple recipients of list <[EMAIL PROTECTED]>
Subject: Does WebObjects 4 log deallocated sessions?
X-Listprocessor-version: 6.0 -- ListProcessor by Anastasios Kotsikonas
Originator: [EMAIL PROTECTED]
X-Mailer: Mozilla 4.5 [en] (WinNT; I)
X-Comment: To unsubscribe,follow directions at  
http://www.omnigroup.com/MailArchive/

Looking at the NT Event Log, I see that WebObjects 4 seems to be logging
a message every time a session times out / deallocates.  Since the app
in question is used heavily, and sessions timeout often, I'm getting
hundreds of log messages per day in the NT event log.  Is there a way to
turn logging off?!  The app is built 'woapp', not 'debug', so that
shouldn't be the problem.

Thank You,
Eric

Reply via email to