Hi wschlichter ,
Thanks for your reply.
I checked this URl.This only show how config the log4j log tracking. My problem is How to write a log4j plugin xml. ,BTW:My HQ is enterprise version.
Is this correct? I do not know how to write metrics & what is log4j plug metrics. Could you help me please?
<plugin>
<platform name="Log4j test">
<server name="JBoss">
<service name="log4j">
<property name="DEFAULT_LOG_FILE" value="/space2/hq/server-4.1.2-EE/logs/server.log"/>
<property name="DEFAULT_LOG_TRACK_ENABLE " value="true"/>
<property name="DEFAULT_LOG_LEVEL" value="Warning"/>
<plugin type="measurement" class="org.hyperic.hq.product.MeasurementPlugin" />
<plugin type="log_track" class="org.hyperic.hq.product.Log4JLogTrackPlugin"/>
</service>
</server>
</platform>
</plugin>