Try renaming it to log4j2.xml. Ralph
On Sep 6, 2012, at 7:47 AM, Adam Furmanczuk wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Probably this issue has been raised before, but could not find any hint: > > I wanted to use the new log4j 2.x in my JSF webproject, but it fails > to load my configuration file. > > I edited the log4j.xml according to the new scheme and checked that it > gets deployed to the classes dir of my web-project, However while > logging it falls back to the default configuration. > > (I am using tomcat7.0.28 as my java application server with java > version "1.7.0_03") > > Any idea what I am missing? > > Greets, > > Adam > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAlBIt4cACgkQefEEI87R1De+4gCeIxyJemDhbWioupNwh4ghb5cR > bRsAn0L8fN1uM5CaOu4wDntlIzztZ6eW > =4fXR > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org > For additional commands, e-mail: log4j-user-h...@logging.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscr...@logging.apache.org For additional commands, e-mail: log4j-user-h...@logging.apache.org