That all depends what the Admin Console displays.  Does it display the "console.log" file, which contains any contents written to System.out?  If it's just an arbitrary log file, you can always have Log4j append to it.  As long as the same VM is being used for both, there should be no problems (other than maybe using RollingFileAppender).   In both cases it will be intermixed with Weblogic's own logging.

Ultimately, this is probably a better question for Weblogic support than the Log4j user list.

Jake

On Tue, 29 Jul 2008 12:27:15 -0500
 "Naina G" <[EMAIL PROTECTED]> wrote:
Hello Jake,

Thank you so much for the response.
Yes, I mean weblogic's console. Can we do that by using just log4j ? Do we
not need weblogic logging services?
And how do we use the console appender to point to weblogic console so that
the messages go to weblogic console?

Thanks again.
*PS: By saying Weblogic console, I mean "able to see the logs using
the* *Weblogic
Admin console*"


Thanks and Regards,
Naina.

On Tue, Jul 29, 2008 at 11:58 AM, Jacob Kjome <[EMAIL PROTECTED]> wrote:

Do you mean Weblogic's console log?  Just use Log4j's Console Appender,
which is essentially the same as System.out.print()

Jake


On Tue, 29 Jul 2008 11:48:12 -0500
 "Naina G" <[EMAIL PROTECTED]> wrote:

Hello,

I would like to know if we can use log4j to direct the application logs to
weblogic console. Or do we need to go for weblogic logging services for
that.
Please help.

Thanks and Regards,
Naina.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to