Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 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 org.eclipse.scout.rt.shared.services.common.security.ILogoutService.logout 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="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <response status="OK" type="" compressed="true"/>
  <data>eAFNkL9OAkEQxsczkChG8Q+llZXN0thR*******************X3r8Gi2UnNov3PSW3A==</data>
  <info origin="172.19.90.100"/>
</soapenv:Body></soapenv:Envelope>
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: 201
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">
    ...
  </appender>
  <root>
    <level value="INFO" />
    <appender-ref ref="FILE" />
  </root>
</configuration>


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: Tue Mar 19 08:41:51 GMT 2024

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

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

Back to the top