Hi ALL,
For my web applications which is deployed to jboss 4.2.3ga I've got a configuration file with timers declarations as below:
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="javax.management.timer.Timer" name="jboss:service=BatTimer"/>
... etc ...
<server>
In the server.log I can see activity of the timers. Below is a sample of output:
2010-03-23 07:14:20,431 INFO [Timer-9] .................
Because the app has got several timers names like Timer-XX are not informative so I would like to give them more human readable names, e.g. instead 'Timer-9' it could be 'Remove expired' or 'Send emails' etc.
My question is -- is it possible to specify name of a timer for server log?
Any thougts will be appreciated.
Thank you.