Log4j help needed

I have a appln,that uses JCL on top of log4j...but the logs are still goin to the command prompt.here is my log4j.properties that i have in my classpath too:


#log4j.rootCategory=ALL, FILE_APPENDER, CONSOLE_APPENDER
#log4j.rootCategory=ALL, FILE_APPENDER
log4j.rootCategory=ALL, CONSOLE_APPENDER

log4j.logger.com.xyz=INFO
log4j.logger.org.apache=INFO
log4j.logger.httpclient.wire=INFO

log4j.appender.FILE_APPENDER=org.apache.log4j.DailyRollingFileAppender
log4j.appender.FILE_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.FILE_APPENDER.layout.ConversionPattern=%d %-5p %m\t@%c%n
log4j.appender.FILE_APPENDER.Threshold=ALL
log4j.appender.FILE_APPENDER.DatePattern=.yyyy-MM-dd
log4j.appender.FILE_APPENDER.File=C:/client.log

log4j.appender.CONSOLE_APPENDER=org.apache.log4j.ConsoleAppender
log4j.appender.CONSOLE_APPENDER.layout=org.apache.log4j.PatternLayout
log4j.appender.CONSOLE_APPENDER.layout.ConversionPattern=%d %p %m%n
log4j.appender.CONSOLE_APPENDER.Threshold=ERROR

Please help..thanks
harmeek_80Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CEHJCommented:
Try changing

>>
#log4j.rootCategory=ALL, FILE_APPENDER
log4j.rootCategory=ALL, CONSOLE_APPENDER
>>

to


log4j.rootCategory=ALL, FILE_APPENDER
#log4j.rootCategory=ALL, CONSOLE_APPENDER
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CEHJCommented:
:-)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.