You might also want to consider why an exception is being generated each time a user logs into an application. It's not considered best practice to throw exceptions for conditions that aren't exceptional; it is also not considered best practice to not catch and handle most exceptions. At the very least, you could catch this exception and generate a log message using Log4j. This would give you greater flexibility in your logging.
Sam Greenfield Sports Illustrated -----Original Message----- From: Douglas Knudsen [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 6:20 PM To: JRun-Talk Subject: Re: <servername>-err.log thanks, yes, that will handle <servername>-error.log, <servername>-warning.log, <servername>-info.log, and <servername>-debug.log. Also <servername>-metrics.log if you have metrics enable. But this doesn't touch <servername>-err.log nor <servername>-out.log, eh? DK On 2/21/06, Drew Falkman <[EMAIL PROTECTED]> wrote: > Look for the jrun.xml in the {jrun-root}/{server}/SERVER-INF directory. Then > do a search for the keyword "logging". You should see a section like this: > > > <attribute name="errorEnabled">true</attribute> > <attribute name="warningEnabled">true</attribute> > <attribute name="infoEnabled">true</attribute> > <attribute name="debugEnabled">false</attribute> > > Set them all to false. Or however you want to have it... > > This should do it. Good luck. > > -Drew Falkman > Team Macromedia: JRun > > > > -----Original Message----- > From: Douglas Knudsen [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 21, 2006 1:19 PM > To: JRun-Talk > Subject: <servername>-err.log > > ugh, where the heck can I change the settings on this log? I'm > running a Flex app on JRun using custom auth. Every time a user hits > the app an exception is logged into this -err.log and it is filling up > VERY rapidly. How to turn off or put it on auto rollover like the > other logs, eh? > > -- > Douglas Knudsen > http://www.cubicleman.com > this is my signature, like it? > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:8:5737 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/8 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:8 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.8 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
