I´m using glassfishv3 for few days. But i don´t know how to get log4j working with the v3.
In glassfishv2 there was a “System Classpath” field which you could used in order to point to your log4j.properties file.
But in glassfishv3 “System Classpath” is not supported any more.
So where i have to put the log4j.properties file on glassfishv3???
Thanks
By default,
log4j.propertiesis located in the root of the classpath. You can override this location by setting thelog4j.configurationsystem property, e.g.So then it can reside anywhere in the classpath you like.
As to how to set system properties in glassfish, I have no idea, but it can’t be that hard.