I've created a simple test app with 5.4-beta-22:

the only dependency:
-----------------------------
        <dependency>
            <groupId>org.apache.tapestry</groupId>
            <artifactId>tapestry-core</artifactId>
            <version>5.4-beta-22</version>
        </dependency>

My Start.java:
-------------------
public class Start {
    @Inject
    private Logger log;

    void setupRender() {
        log.error("Start.setupRender");
        System.out.print("here");
    }
}

log4j.properties:
------------------------
log4j.rootCategory=TRACE, A1
# Console
log4j.appender.A1=org.apache.log4j.ConsoleAppender


When the page is loaded, only "here" is printed in the console.

I have also tested added log4j as a dependency:
        <dependency>
            <groupId>log4j</groupId>
            <artifactId>log4j</artifactId>
            <version>1.2.17</version>
        </dependency>

Same result.

What do I need to do to enable logging?

Thanks, Paul.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to