• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loding project Specific log into log files.

 
Arvind Porlekar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic