On Jul 10, 2009, at 12:36 AM, johnxmas wrote:
try the following code:
gbean
class
=
org
.apache
.geronimo.system.logging.log4j.ApplicationLog4jConfigurationGBean
name=DirectoryLog4jConfiguration
attribute name=log4jFileMETA-INF/log4j.properties/attribute
reference
Here is a good article for the logging in Geronimo
http://www.ibm.com/developerworks/websphere/tutorials/0903_madgula/index.html?ca=drs-
2009/7/10 David Jencks david_jen...@yahoo.com
On Jul 10, 2009, at 12:36 AM, johnxmas wrote:
try the following code:
gbean
After adding
gbean name=DirectoryLog4jConfiguration
class=org.apache.geronimo.system.logging.log4j.ApplicationLog4jConfigurationGBean
attribute name=log4jResourceMETA-INF/log4j.properties/attribute
/gbean
to my geronimo-ra.xml, I get the following exception
16:25:37,156 ERROR
try the following code:
gbean
class=org.apache.geronimo.system.logging.log4j.ApplicationLog4jConfigurationGBean
name=DirectoryLog4jConfiguration
attribute name=log4jFileMETA-INF/log4j.properties/attribute
reference name=ServerInfonameServerInfo/name/reference
/gbean
anything else, let
Try to remove the service element, just leave gbean definition.
Forrest