MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
aq333@22z
Post subject: logging inside myeclipse  PostPosted: Jul 12, 2004 - 09:06 PM
Registered Member
Registered Member


Joined: Feb 06, 2004
Posts: 11

Can anyone point me to a resource where I can get logging to work inside the IDE. I would like to have all configuration done through a file and not code. I believe this entails adding adding system properties to launch condition but I can't seem find where to set those.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jul 12, 2004 - 09:31 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Are you asking about the Eclipse framework logging (e.g. you are writing your own plugin) or are you asking about logging in your application (e.g. using Log4J, commons-logging or the JDK logger) or are you asking about something else?

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
aq333@22z
Post subject:   PostPosted: Jul 13, 2004 - 01:26 PM
Registered Member
Registered Member


Joined: Feb 06, 2004
Posts: 11

I would like to be able to use both commons-logging and the JDK as desired. I put a log4.properties file at the my src root which moves it to the classpath. Seems log4j will look for this file as a default if the system property log4j.configuration isn't set. This worked fine to get commons-logging working. However, any changes to the properties file seems to have no effect. My first place in using this is with unit testing and then later will be used in a tomcat app.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-rkalla
Post subject:   PostPosted: Jul 13, 2004 - 04:41 PM
Registered Member
Registered Member


Joined: Jan 06, 2004
Posts: 23824

Hmm, I'm not farmiliar with the logging mechanisms so I can't help much here, I hope one of our users can help though.

_________________
Riyad
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits