On 27/06/2007, at 1:29 PM, Misty Thornton wrote:
Paul,
Thanks a lot for guiding me through this process. I have tested
your Test
class in a project mode and it passes the test. I just added a main
(is this
even the right way to test it:)) and created an instance of the
Test class
and it ran smoothly, is there any way where I can send the message
to a
different application rather than seeing it in jconsole? Thanks
again for
the immense help.
public static void main(String args[])
{
JMSAppenderTest mytest = new JMSAppenderTest();
System.out.println("**constructor executed**");
}
err, that's going to have done nothing at all. If you have Eclipse,
you can right click on the class and choose Run->Junit test. That's
actually going to execute the test. The above does nothing but
create a new instance of the class...
Can I ask a more basic question? What exactly are you trying to
achieve here? What is the end result that you want to be able to do
with log4j Logging Events?
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]