Google is your friend: http://stackoverflow.com/questions/2533227/how-can-i-disable-the-default-console-handler-while-using-the-java-logging-api <http://stackoverflow.com/questions/2533227/how-can-i-disable-the-default-console-handler-while-using-the-java-logging-api>
On Thu, Dec 22, 2011 at 6:44 PM, Keith Bennett <[email protected]>wrote: > Ed, thanks for your reply! The log data is now being directed to my > logback files on the server, but I still have one remaining issue. I > noticed that all of the java.util.logging get additionally logged to > my Tomcat console. Any native logback logging statements do not. So, > with the introduction of the SLF4JBrideHandler.install() method, do > you know of a way to suppress the java.util.logging output on the > Tomcat console yet still allow it to be directed to the logback files? > > On Dec 21, 2:12 pm, Ed Bras <[email protected]> wrote: > > Make sure you correctly install the jul bridge: > SLF4JBridgeHandler.install() > > when your app starts. > > See:http://www.slf4j.org/api/org/slf4j/bridge/SLF4JBridgeHandler.html > > > > If that doesn't work, then debug it, and you will quickly find out what > > goes wrong. > > > > On Wed, Dec 21, 2011 at 8:54 PM, Keith Bennett > > <[email protected]>wrote: > > > > > > > > > > > > > > > > > Ed, I have followed all of the guidelines as documented in the first > > > link you sent. Again, I am able to direct the log output to my > > > logback-managed files, but only if I use the RemoteLoggingServiceImpl > > > and RemoteLoggingServiceUtil custom classes I created that use the > > > slf4j Logger and LogFactory classes. I know that these classes use > > > java.util.logging as Thomas first mentioned. If I can get the slf4j > > > bridge configured, I am assuming that I can use the GWT versions of > > > these classes instead of mine. All I'm trying to figure out now is > > > how to properly configure the slf4j bridge as Thomas indicated I > > > should do. I have referenced instructions listed at > > >http://www.slf4j.org/legacy.html. > > > Is there anything more I need to do other than including the jul-to- > > > slf4j jar as a dependency? > > > > > On Dec 21, 1:41 pm, Ed <[email protected]> wrote: > > > > Have a look at: > > > > + gwt logging: > > >http://code.google.com/webtoolkit/doc/latest/DevGuideLogging.html > > > > + gwt-log:http://code.google.com/p/gwt-log/ > > > > > > <http://code.google.com/p/gwt-log/> > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google Web Toolkit" group. > > > To post to this group, send email to > [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
