|
Right Java tools for J2EE, Web Service, Grid and more |
| |Home | Products | Documents | Downloads | Purchase | Support | Company | Partners | Contact | |
Check out our new initiative LimpidLog: you do not need to hard-code any log statement.
Application servers provide logging systems. But they are very basic. When you shop for a logging system, ask the following questions:
Configuration includes: log threshold, filter unwanted messages and other attributes. If you need to reboot the server to make new values effective, it is not good enough.
In a clustering environment, each copy of application server runs its own JVM or JVMs. When you reconfigure the logging system, all copies of server should be reconfigured. If you change logging attributes on one copy of servers only, the whole system is not synchronized.
The API which changes logging attributes should not be available for general public. Otherwise, some one will accidentally, or un-intently change log attribute on one JVM only. It is very difficult to find this kind of potential problems.
There should be a GUI tool to reconfigure the logging system.
If log messages spread all over different machines, it would be very difficult to read them.
This is not a joke. JMS (Java Message Services) based logging system is not chronological. JMS guarantees delivery, but does not guarantee timing. If the order is not chronological, it is useless.
If anything goes wrong at system level, an alert notification should be sent out to system administrators. If anything is abnormal at application level, alarm notification should be sent out to assigned people.
If you need to go through a few steps before logging, it is too complicated and it is prone to errors. Bugs in logging area are more difficult to find until too late.