Results 1 to 5 of 5

Thread: Beandoc: How to disable log output

  1. #1
    Join Date
    Dec 2005
    Posts
    17

    Default Beandoc: How to disable log output

    Hi,

    can anyone say me how to disable the info-messages printed out when running spring beandoc?
    I created a log4j.properties like in samples dir and put it in classpath with pathelement. But it doesn't help ;-(

    Code:
    <path id="beandoc-classpath">
        <pathelement path="${basedir}/../dev/lib/spring-beandoc-0.7"/>
        <fileset dir="${basedir}/../dev/lib/spring-beandoc-0.7">
          <include name="*.jar"/>
        </fileset>    
      </path>
    Thanks,
    Juergen

  2. #2
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

    make sure you also have log4j.jar in the beandoc classpath
    Darren Davison.
    Public Key: 0xE855B3EA

  3. #3
    Join Date
    Dec 2005
    Posts
    17

    Default Doesn't help

    I allready have the log4j.jar in my classpath.

  4. #4
    Join Date
    Aug 2004
    Location
    London, UK
    Posts
    339

    Default

    log4j.jar is in the path of the element highlighted in your original post, right? ie it exists at: {basedir}/../dev/lib/spring-beandoc-0.7/log4j.jar ?

    log4j.properties needs to be in the root of the system classpath (which means not necessarily in the same directlry as above unless you already added that to the system classpath). It's definitely a classpath issue for either the jar file or the props file.
    Darren Davison.
    Public Key: 0xE855B3EA

  5. #5
    Join Date
    Dec 2005
    Posts
    17

    Thumbs up It works

    I do not know what I made wrong, but after making the same things since last time, it works now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •