Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-22-2008, 10:22 PM
Member
 
Join Date: Jun 2008
Posts: 1
nag98 is on a distinguished road
Log4j Issue
Hi ,
Iam using log4j in my application. I have the problem with log4j . It will automatically appends another logger file from the current logger which iam using for the current application. It appends another logger file from the current one. Pls advise the solution how to proceed further to prevent other logger files or messages... Pls find the log4j.properties file below...


# ***** R is set to be a RollingFileAppender.
log4j.rootLogger=INFO,R
log4j.appender.R=org.apache.log4j.RollingFileAppen der
log4j.appender.R.File=/apps/opt/example.log
# ***** Max file size is set to 100KB
log4j.appender.R.MaxFileSize=100KB
# ***** Keep one backup file
log4j.appender.R.MaxBackupIndex=1
# ***** R uses PatternLayout.
log4j.appender.R.layout=org.apache.log4j.PatternLa yout
log4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n


Pls provide the solution how to prevent multiple logger messages from the current logger file.
Thanks
Nag
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding Log4j sidiq New To Java 0 04-07-2008 09:35 PM
Log4j chakri New To Java 1 02-09-2008 12:15 AM
log4j swapna_d New To Java 5 01-21-2008 10:49 AM
Help log4j SysLogAppender arthik_babu New To Java 0 11-19-2007 03:51 PM
log4j initialization arfatkhan Web Frameworks 3 08-10-2007 09:42 PM


All times are GMT +3. The time now is 01:54 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org