You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/07/09 21:26:11 UTC

DO NOT REPLY [Bug 7445] - Can not set verbosity property of the FileLogger via server.xml configuration file.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7445>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7445

Can not set verbosity property of the FileLogger via server.xml configuration file.

bob@jadn.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bob@jadn.com
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From bob@jadn.com  2002-07-09 19:26 -------
Humm. Seems like this is fixed in 4.1.7...

I put this tag in the Host element, and set the logger debug to 4 and 7
- no problems.

Cheers,
-bob

<Listener className="blt" />

and 


import org.apache.catalina.Host;
import org.apache.catalina.LifecycleEvent;
import org.apache.catalina.LifecycleListener;

public class blt implements LifecycleListener {
    public void lifecycleEvent(LifecycleEvent event) {
	    Host host = (Host)event.getLifecycle();
	    host.getLogger().log( "CURRENT verbosity level is "+
host.getLogger().getVerbosity() );
    }
}

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>