File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes log file path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "log file path" Watch "log file path" New topic

log file path

ram kri

Joined: Dec 08, 2005
Posts: 12
i am using log4j api for creating log file

how can i give the path of creating log file in file

windows 2000 is my O.S
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

I did it this way:


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Paul Clapham

Joined: Oct 14, 2005
Posts: 18110

I did it like this:

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60041

Moved to the Other Open Source Projects forum.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]

Joined: Dec 12, 2005
Posts: 5
Yeah both of them works well.
Consider Paul's rocket mass heater.
subject: log file path
Similar Threads
Tomcat crashes
Weblogic 9.2 + log4j : Adding path to log file not working
maintaining a log file on server(Linux-Apachi)
How to create log file outside application
Help Please -log4j:WARN No appenders could be found for logger