aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Loding project Specific log into log files.
 
Similar Threads
struts2.2.1 combined tutorial with modified changes not able to work
Running JBoss 5.1.0 All Server
Page not found
Trying to connect to SQL-2005 with JDBC and JNDI
issue while using struts-core-1.3.5