This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sun Java Application Server logging format  RSS feed

 
Z Sugiarto
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way I can change the default log format? I can't seem to find this anywhere. For example, one message will be logged as:

[#|2006-05-26T15:18:52.887+1000|INFO|sun-appserver-pe8.2|javax.enterprise.system.stream.out|_ThreadID=13;|
tid=447715 > ATTA > Store to TransactionHist|#]

Anyway I can change it to a simple

2006-05-25_15:18:52 [TID=13|INFO] tid=447715 > ATTA > Store to TransactionHist

I tried googling this, and found heaps of resources about configuring different levels, but I can't find one that tells me how to change its format. Is this even possible?

I tought there would be some sort of default log4j.properties kind of thing somewhere in the app server directory, but I just can't find it!

I would really want to change this log format, pls help
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!