logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Kjome" <h...@visi.com>
Subject Re: displaying log messages in weblogic console using log4j
Date Tue, 29 Jul 2008 17:41:43 GMT
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" <ndani.g17@gmail.com> 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 <hoju@visi.com> 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" <ndani.g17@gmail.com> 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: log4j-user-unsubscribe@logging.apache.org
>> For additional commands, e-mail: log4j-user-help@logging.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message