• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

log4j tutorial

 
indu yeturu
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi can you please suggest a good tutorial for log4j(eclipse,tomcat) ?
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you followed any of the log4j website start guides?
 
indu yeturu
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no, please let me know the location of your website- log4j
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just put log4j into google and you'll find their site
 
indu yeturu
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to create a log file(File appender) in context path ?
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, I don't understand what you're trying to do, can you provide more details?
 
indu yeturu
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I mean, in which location, we need to create mylog.log file by using log4j- file appender? what is the best place to put a log file in web application ?
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That really depends on your app server, Jboss for example you put it in $JBOSS_HOME/server/<instance>/logs
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic