File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Open Source Projects and the fly likes log4j tutorial 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 "log4j tutorial" Watch "log4j tutorial" New topic
Author

log4j tutorial

indu yeturu
Ranch Hand

Joined: Aug 27, 2008
Posts: 123
Hi can you please suggest a good tutorial for log4j(eclipse,tomcat) ?


thanks,
indu
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Have you followed any of the log4j website start guides?


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
indu yeturu
Ranch Hand

Joined: Aug 27, 2008
Posts: 123
no, please let me know the location of your website- log4j
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Just put log4j into google and you'll find their site
indu yeturu
Ranch Hand

Joined: Aug 27, 2008
Posts: 123
How to create a log file(File appender) in context path ?
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

I'm sorry, I don't understand what you're trying to do, can you provide more details?
indu yeturu
Ranch Hand

Joined: Aug 27, 2008
Posts: 123
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

Joined: Jun 24, 2003
Posts: 3274
    
    5

That really depends on your app server, Jboss for example you put it in $JBOSS_HOME/server/<instance>/logs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: log4j tutorial