• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

SLF4J, Logback configuration on JBoss 5.1

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

We have requirement to use SLF4J. So I am using Logback as backend. I have SLF4J version 1.5.11 and logback 0.9.18.

I am getting the log with double timestamp as follows:
09:55:24,777 INFO [STDOUT] 09:55:24.777 [http-localhost%] DEBUG c.m.e.m.a.a.UpdateBusinessPartnerContactAction - EditCreatePartner method in UpdateBusinessPartnerContactAction called.

Jboss is superseding our configuration for logging.

Please let me know where it has gone wrong.

Thanks,
Chaatna
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss AS configures its logging to capture any output to stdout/stderr, which explains the "[STDOUT]" in the log entry. As far as I know, there is no way to prevent it from doing this short of modifying the JBoss AS code itself.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic