Results 1 to 1 of 1

Thread: AspectJWeaver's own logger?

  1. #1
    Join Date
    Aug 2007
    Posts
    19

    Default AspectJWeaver's own logger?

    What I hope is a trivial query:

    I use the @Configurable annotation with certain domain objects and, therefore, start the JVM with the AspectJ Weaver:

    Code:
    java -javaagent:%path%/lib/aspectjweaver.jar
    And I keep getting the following warning from log4j:

    Code:
    log4j:WARN No appenders could be found for logger (AspectJ Weaver).
    log4j:WARN Please initialize the log4j system properly.
    Yet my log4j.properties file does register the following loggers (among others):
    Code:
    log4j.logger.org.aspectj=debug, stdout, file
    log4j.logger.org.springframework=info, stdout, file
    So what is the root class which I need to register as logger in order to log AspectJ's work?
    Last edited by pierdeux; Sep 26th, 2007 at 12:11 AM.

Posting Permissions

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