Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to configure path for log4j log files?
How to configure path for log4j log files? [message #303365] Fri, 12 May 2006 15:57
Eclipse UserFriend
Using WTP 1.0.2 all in one.

I have a plugin that is generating log files using log4j. The files are
being created directly in the eclipse install directory. I have
configured the log4j.properties file within my plugin as follows:

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=./plugins/myplugin_1.0.0/logs/gmtoea.l og

I expected the logs to be placed in the logs directory of my plugin.

If it is possible to direct log4j to write to specific locations, a
pointer to some docs that explain how to config log4j in eclipse will be
appreciated.

Thanks
Michael Giroux
Previous Topic:Found JUnit4 plugin, but can't install it!
Next Topic:RCP with a database and not with IResources
Goto Forum:
  


Current Time: Tue Jul 22 06:38:14 EDT 2025

Powered by FUDForum. Page generated in 0.05856 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top