• 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:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JBOSS Logging

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

I have 2 application (JBOSS) server. In one app server in jboss logs every request has (TP-Processor ID associated with but in the other app server it is http-0.0.0.0-443- ID. Why is the log difference even though the log4j.xml is identitcal? How can i enable (TP-Processor ID on the second app server.

Both server have same version of jdk and jboss.

Thank you.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you post a sample log message and also the log4j configuration files from both the server? Are you using your own log4j configuration file or are you using the one under the server/servername/conf folder of JBoss?
 
titiksha gosar
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sample logs. Yes we are using the default log4.xml which is under the conf directory under jboss.

APP1
----------------------------------------------------
2008-09-25 00:00:00,762 68339415 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373371
2008-09-25 00:00:00,762 68339415 INFO [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373371
2008-09-25 00:00:00,778 68339431 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373371
2008-09-25 00:00:00,778 68339431 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373371
2008-09-25 00:00:00,825 68339478 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373371
2008-09-25 00:00:00,872 68339525 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373371
2008-09-25 00:00:00,872 68339525 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373369
2008-09-25 00:00:00,872 68339525 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373370
2008-09-25 00:00:00,872 68339525 DEBUG [com.jnx.piu.api.Count] (http-0.0.0.0-443-17 AKID=1373371






APP2
-----------------------------------------------
2008-10-21 00:00:00,130 14974513 INFO [com.jnx.piu.api.Count] (TP-Processor802 AKID=8882772
2008-10-21 00:00:00,130 14974513 DEBUG [com.jnx.piu.api.Count] (TP-Processor802 AKID=8882772
2008-10-21 00:00:00,130 14974513 DEBUG [com.jnx.piu.api.Count] (TP-Processor802 AKID=8882772
2008-10-21 00:00:00,209 14974592 DEBUG [com.jnx.piu.api.Count] (TP-Processor802 AKID=8882772
2008-10-21 00:00:00,224 14974607 DEBUG [com.jnx.piu.api.Count] (TP-Processor802 AKID=8882772
2008-10-21 00:00:00,240 14974623 DEBUG [com.jnx.piu.api.Count] (TP-Processor802 AKID=8882771
2008-10-21 00:00:00,240 14974623 DEBUG [com.jnx.piu.api.Count] (TP-Processor802 AKID=8882772
 
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
The logging format looks different than what I expect. What layout and conversion pattern are you using? Also, the logging statements are coming from your code - what exactly is your code logging?
 
Does this tiny ad smell okay to you?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic