Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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 Murach's Java Servlets and JSP this week in the Servlets 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: 18541

I did it like this:

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60756

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.
I agree. Here's the link:
subject: log file path
Similar Threads
Help Please -log4j:WARN No appenders could be found for logger
maintaining a log file on server(Linux-Apachi)
Tomcat crashes
How to create log file outside application
Weblogic 9.2 + log4j : Adding path to log file not working