Oops, left out the classpath! Sorry!
add log4j jar to classpath in JVM Settings (for non-clustered: Admin Console -> Application Server -> JVM Settings -> Path Settings; clustered: Admin Console -> Configurations -> [your config] -> JVM Settings -> Path Settings)
add config directory to classpath (so it will find log4j.properties)
For example:
/glassfish/domains/domain1/lib/log4j-1.2.14.jar
/glassfish/domains/domain1/config
[Message sent by forum member 'culli' (culli)]
http://forums.java.net/jive/thread.jspa?messageID=359913