WAS 6.1 logs parsing or catching - Websphere

This is a discussion on WAS 6.1 logs parsing or catching - Websphere ; Hi all, I'm writing simple monitoring app for old J2EE app. logging to system.out. I can see these logs in SystemOut.log. Is it somehow possible to get them into my monitoring app? I see only 2 possibilities: 1. find some ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: WAS 6.1 logs parsing or catching

  1. WAS 6.1 logs parsing or catching

    Hi all,



    I'm writing simple monitoring app for old J2EE app. logging to system.out. I can see these logs in SystemOut.log. Is it somehow possible to get them into my monitoring app?



    I see only 2 possibilities:

    1. find some mbean raising notifications with log messages (without success till now). Has WAS 6.1 something like that?

    2. parse log files.



    Any idea?



    Thanks for every advice.

  2. Re: WAS 6.1 logs parsing or catching

    thomas2@pobox.sk wrote:
    > Hi all,
    >
    >
    >
    > I'm writing simple monitoring app for old J2EE app. logging to system.out. I can see these logs in SystemOut.log. Is it somehow possible to get them into my monitoring app?
    >
    >
    >
    > I see only 2 possibilities:
    >
    > 1. find some mbean raising notifications with log messages (without success till now). Has WAS 6.1 something like that?
    >
    > 2. parse log files.
    >
    >
    >
    > Any idea?
    >
    >
    >
    > Thanks for every advice.
    >

    java.util.logging is a typical solution, you can direct your logs to
    lots of different places. With no idea how your monitoring app wants the
    messages, it's hard to say.

    Parsing log files is pretty easy too :-)

    Ken

  3. Re: WAS 6.1 logs parsing or catching

    1. RasLoggingService MBean has JMX notifications for the SystemOut
    messages -- but you'd get them all, not just ones issued by your old
    application

    --
    Stephen ****s
    WESB/WPS System Administration

    wrote in message
    news:1758620166.1214568785260.JavaMail.wassrvr@lts gwas010.sby.ibm.com...
    > Hi all,
    >
    >
    >
    > I'm writing simple monitoring app for old J2EE app. logging to system.out.
    > I can see these logs in SystemOut.log. Is it somehow possible to get them
    > into my monitoring app?
    >
    >
    >
    > I see only 2 possibilities:
    >
    > 1. find some mbean raising notifications with log messages (without
    > success till now). Has WAS 6.1 something like that?
    >
    > 2. parse log files.
    >
    >
    >
    > Any idea?
    >
    >
    >
    > Thanks for every advice.




+ Reply to Thread