Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Tomcat
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Tomcat
Having problem in logfile
Ganesan Ramakrishnan
Ranch Hand
Posts: 91
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
My log4j.properties file is below
log4j.rootCategory=error,info,debug, R log4j.logger.com.sellermania.BMLocal=debug,error,info, R log4j.appender.R=org.apache.log4j.RollingFileAppender log4j.appender.R.File=C\:\\logs\\BMLocal.log log4j.appender.R.layout=org.apache.log4j.PatternLayout log4j.appender.R.layout.ConversionPattern=%d{dd MMM yyyy HH\:mm\:ss,SSS} [%p] %c\:%m%n
This is showing the logs in the server console properly , but not writing the logs into BMLocal.log. is anybody know where i did mistake.
Give me the suggestion to correct the problem.
Thanks
Ganesan
Note to self: don't get into a fist fight with a cactus. Command this tiny ad to do it:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Log4j created file not able to delete while testing my application??
log4j writing to multiple log
Not able to save logs into .log file
Problem with Tomcat 5.5 and JSF (JSP version mismatch), Tomcat 6.0 and logging level problem
Log4j created file not able to delete while testing my application??
More...