wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes how to know the location of log file set in log4jproperty file 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 "how to know the location of log file set in log4jproperty file" Watch "how to know the location of log file set in log4jproperty file" New topic
Author

how to know the location of log file set in log4jproperty file

ilias basha
Ranch Hand

Joined: Nov 27, 2008
Posts: 55

May be its really silly question to ask but i have no clue about this.


how to know inside an application which is using log4j for logging - the location where the log file is going to be generated.


thanks in advance...
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Something like this :


[My Blog]
All roads lead to JavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to know the location of log file set in log4jproperty file
 
Similar Threads
Does anyone know how to read a log file in .log and output the data using java language ?
Log in Servlet
getServletContext().log
Configuring commons logging
location of log file when using log4j