
For debugging, I want to turn on the Log4J logging I have in my plugin components. How exactly do I do this for a plugin? Thanks, Eliot -- W. Eliot Kimber Senior Solutions Architect Really Strategies, Inc. "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com Sent using the Microsoft Entourage 2004 for Mac Test Drive.

Hello, In the plugin.xml descriptor of your oXygen plugin you add a line like <runtime> <library name="lib/log4j.jar"/> </runtime> where the "name" attribute specifies the path to the jar file relative to the plugin.xml file. The "runtime" element must be a child of the root element called "plugin". Regards, Sorin Eliot Kimber wrote:
For debugging, I want to turn on the Log4J logging I have in my plugin components. How exactly do I do this for a plugin?
Thanks,
Eliot

On 10/29/07 11:07 AM, "Sorin Ristache" <sorin@oxygenxml.com> wrote:
Hello,
In the plugin.xml descriptor of your oXygen plugin you add a line like
<runtime> <library name="lib/log4j.jar"/> </runtime>
I did that but I'm only getting my info messages. I have a log4j.properties file that I use during development that turns on debug-level messages. Do I need to put that file somewhere? Thanks, Eliot -- W. Eliot Kimber Senior Solutions Architect Really Strategies, Inc. "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com Sent using the Microsoft Entourage 2004 for Mac Test Drive.

Hi Eliot, If you place a log4j.properties file in the oXygen home folder or in the oXygen's lib folder then oXygen should add that automatically in the classpath and the log4j system will be initialized by that file. Best Regards, George --------------------------------------------------------------------- George Cristian Bina - http://aboutxml.blogspot.com/ <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Eliot Kimber wrote:
On 10/29/07 11:07 AM, "Sorin Ristache" <sorin@oxygenxml.com> wrote:
Hello,
In the plugin.xml descriptor of your oXygen plugin you add a line like
<runtime> <library name="lib/log4j.jar"/> </runtime>
I did that but I'm only getting my info messages. I have a log4j.properties file that I use during development that turns on debug-level messages. Do I need to put that file somewhere?
Thanks,
Eliot
participants (3)
-
Eliot Kimber
-
George Cristian Bina
-
Sorin Ristache