Chapter 6. Logging



Note: In this chapter:

In this chapter, we are going to look at how JBoss handles logging. JBoss integrates the log4j logging framework as a core service of the application server. This means that JBoss provides not only extensive information about what the application server is doing at any given moment, but also the ability to centrally manage logging for all the applications in the server.

Centralizing log management has several nice benefits. It means that your applications don't need to worry about incompatible logging libraries. You also don't have to worry about application-specific logging configurations, or monitoring multiple application-specific logfiles. As a core JBoss service, you also gain the ability to dynamically reconfigure logging in a running server.

Let's get started and see what log4j can do.



JBoss. A Developer's Notebook
JBoss: A Developers Notebook
ISBN: 0596100078
EAN: 2147483647
Year: 2003
Pages: 106

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net