The archetype generates a log4j.properties configuration file as well.
I can't think of why renaming the filter would change things, though
it would prevent your AppModule from being loaded (you have to rename
it to match the filter) ... perhaps you are missing some of the
logging there, rather than in your components.

On Mon, Feb 1, 2010 at 4:09 PM, Jonhy Pear <jonhy.p...@gmail.com> wrote:
> Hi,
>
> I started a T5.1 app with maven archetype. I can use the Logger just as
> expected :
>
> private static final Logger LOG = LoggerFactory.getLogger(AppModule.class);
> ....
> LOG.debug("Something")
> ...
>
> The logs get into the console of jetty as expected.
>
> But if I change the name of the filter in Web.xml from "app" to
> "anythingApp" like this:
>
> <filter>
>        <filter-name>anythingApp </filter-name>
>        <filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
>    </filter>
>    <filter-mapping>
>        <filter-name>anythingApp </filter-name>
>        <url-pattern>/*</url-pattern>
>    </filter-mapping>
>
>
> The logs just stop work and don't show up anymore...
>
> I'm just starting to digg into T5, and if you can give me some details why
> this happening, then great.
>
> Thank you,
>
> JP
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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

Reply via email to