Bookmark Topic Watch Topic
  • New Topic

Configuring multiple file destinations in log4j properties  RSS feed

 
Sachin Dimble
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I have one Log4j.properties file for my web application.



Now i want, only some of my classes (com.myapp.SpecialClass) inside this application logs their messages in other file "special.log".

I searched it at many places including Apache resources but couldn't figure out how to dothat.
Any help/link will be helpful.

Thanks.



 
Sachin Dimble
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Report post to moderator
sorry i put it under wrong forum please ignore this post.
 
Rob Spoor
Sheriff
Posts: 21048
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
Log4J is handled in the Other Open Source Projects forum. Moving there.

Edit: never mind, another is already created. Closing.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!