November 1, 2006

You are currently browsing the daily archive for November 1, 2006.

Log4j

In log4j, you can configure the logging properties by several ways.

  1. Through the log4j.xml located in class directories
  2. Through the plain log4j.properties in class directories
  3. Direct coding which is place in a class

The first two is recommended since the change of properties should be based on deployment environment. It should not be modified by changing codes. In fact, the manipulation using codes seems easier and you can at least make reference to the API to learn how to configure.

Here is a tutorial on setting the log4j.properties in Simplified Chinese.
http://hedong.3322.org/archives/000195.html

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Live
  • Technorati
  • YahooMyWeb

« Older entries

 

November 2006
S M T W T F S
« Oct   Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Categories