Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Logback config
Logback config [message #1357835] Thu, 15 May 2014 18:12 Go to next message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
In our project, we are using Logback as Log library:

Does someone know how I should configure Logback to avoid DEBUG messages like this:

19:33:23.679 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.s.DefaultServiceTunnelContentHandler - message decoding took 306375 nanoseconds
19:33:23.680 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.DefaultTransactionDelegate - started by anonymous at Thu May 15 19:33:23 CEST 2014
19:33:23.680 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.t.BasicTransaction - register transaction member P_ClientNotificationTransactionMember
19:33:23.680 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.t.BasicTransaction - commit phase 1 of transaction member 'P_ClientNotificationTransactionMember'.
19:33:23.686 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.t.BasicTransaction -  org.eclipse.scout.rt.server.DefaultTransactionDelegate$P_ClientNotificationTransactionMember@15a02f4
19:33:23.687 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.t.BasicTransaction -  org.eclipse.scout.rt.server.DefaultTransactionDelegate$P_ClientNotificationTransactionMember@15a02f4
19:33:23.687 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.s.DefaultServiceTunnelContentHandler - message encoding took 178694 nanoseconds
19:33:23.699 [http-apr-8080-exec-8] DEBUG o.e.s.r.s.s.DefaultServiceTunnelContentHandler - lastWrittenCharacter=62,lastThrownException=null, sentData: <soapenv:Envelope soapenv:encodingStyle="" xmlns:soapenv="">
  <response status="OK" type="" compressed="true"/>
  <info origin=""/>
Re: Logback config [message #1368925 is a reply to message #1357835] Tue, 20 May 2014 10:38 Go to previous message
Beat Schwarzentrub is currently offline Beat SchwarzentrubFriend
Messages: 126
Registered: November 2010
Senior Member
Hey Jérémie

How does your logback.xml look like?

We have had very good experiences with logback, it works very well. Maybe you missed to set the root log level?

Something like this:

<configuration debug="true">
  <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
    <level value="INFO" />
    <appender-ref ref="FILE" />

The "debug=true" switch makes Logback print out the logger settings at startup.

[Updated on: Tue, 20 May 2014 10:39]

Report message to a moderator

Previous Topic:FileChooser in RAP
Next Topic:Transfer the Server Stacktrace to the client
Goto Forum:

Current Time: Sat Jul 04 03:50:01 GMT 2020

Powered by FUDForum. Page generated in 0.01375 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top