Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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:

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 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
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!