Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java Servers
Search Coderanch
Advance search
Google search
Register / Login
Help coderanch get a
new server
by contributing to the
fundraiser
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
Ron McLeod
Paul Clapham
Devaka Cooray
Liutauras Vilda
Sheriffs:
Jeanne Boyarsky
paul wheaton
Henry Wong
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Tim Moores
Carey Brown
Mikalai Zaikin
Bartenders:
Lou Hamers
Piet Souris
Frits Walraven
Forum:
Other Java Products
Log4J configuration
sam ky
Ranch Hand
Posts: 104
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
I would like to use multiple log files for different case.
Iam not able to find where to configure to get this functionality.
Can anyone help me to do this.
Thanks and Regards,
Sammaiah.
Dave Salter
Ranch Hand
Posts: 293
I like...
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Does this help?
http://www.google.com/search?client=safari&rls=en&q=log4j+multiple+log+files&ie=UTF-8&oe=UTF-8
Vishal Shah
Greenhorn
Posts: 2
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Use log4j category and specify different configurations for each category.
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Sammaiah,
Could you please give the exact behaviors that you are trying to achieve?
The log4j framework can be configured using xml configuration or properties file.
You have to initialize the log4j framework in your program using configuration file.
Rahul Bhattacharjee
LinkedIn
-
Blog
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
creating configuration programmatically in JAAS
servlet init parameters
Passed
org.hibernate. HibernateException: database product name cannot be null
Struts2 Iteator Tag with object in object
More...