Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

java logging configuration file

Status
Not open for further replies.

rsst

Programmer
May 25, 2005
6
0
0
US
I would like to redirect the log messages coming from different applications to different files, specifying the file names in the configuration file, instead of in my program itself. The configuration file should look some thing like this...


# For example, set the com.xyz.foo logger to only log SEVERE
# messages:
com.xyz.foo.level = SEVERE

com.xyz.foo.file = file1.log
com.xyz.abc.file = file2.log

Pl. suggest me a way
 
cross-post with forum269 . Please do not cross-post.

--------------------------------------------------
Free Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top