umm... if I recall this was to do with the logging output level right? Yeh. 1.1 deprecates that. Instead it expects this all to be configured in your logging impl. 1.1 uses commons-logging (a logging api wrapper) that allows the actual logger used to be pluggable.
Unfortunately configartion of the logging level is now implementation dependent, and afaik I dont believe struts provides a convienient way to get at it anymore as its no longer something managed by struts but rather left to the implementation in question. -----Original Message----- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: Saturday, 28 February 2004 08:03 To: [EMAIL PROTECTED] Subject: servlet.getDebug I am a newbie reading "Struts in action" and am attempting to build the logon example in chapter 3. I am using Struts 1.1 and unfortunately the book is written primarily to Struts 1.0, which was the stable version at time of writing. Anyway, I get this when I build a couple of the java files: warning: getDebug() in org.apache.struts.action.ActionServlet has been deprecated [javac] if (servlet.getDebug() >= Constants.DEBUG) Is there some recommended replacement for that construct? Thanks. Dean Hoover --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]