This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes Loding project Specific log into log files. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Loding project Specific log into log files." Watch "Loding project Specific log into log files." New topic
Author

Loding project Specific log into log files.

Arvind Porlekar
Ranch Hand

Joined: Dec 31, 2008
Posts: 38
I am Eclipse and i am creating web project. Also i am using SLF4J for storing log into log file.
I am putting log4j.properties file into the WEB-INF/classes folder

when i access the login page,the all associated logs and my debug statement log are get loaded into the log file.
But i want the specific log (i.e project specific log) should be loaded into the log file instead of others log.

On the log file i can see



Can anyone help me to find out to store specific project related log into log file.??

Thanks,
Arvind Porlekar
Ranch Hand

Joined: Dec 31, 2008
Posts: 38
Hi all,

Yes,I am able to store project Specific log into log files.

I have added project path into log4j.property

I have done the following changes into log4j.property



Thanks,
Arvind
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Loding project Specific log into log files.
 
Similar Threads
Trying to connect to SQL-2005 with JDBC and JNDI
Running JBoss 5.1.0 All Server
struts2.2.1 combined tutorial with modified changes not able to work
issue while using struts-core-1.3.5
Page not found