facebook

logging inside myeclipse

  1. MyEclipse IDE
  2.  > 
  3. Comments
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #209724 Reply

    aq333@22z
    Member

    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.

    #209728 Reply

    Riyad Kalla
    Member

    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?

    #209767 Reply

    aq333@22z
    Member

    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.

    #209800 Reply

    Riyad Kalla
    Member

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: logging inside myeclipse

You must be logged in to post in the forum log in