aspose file tools*
The moose likes BEA/Weblogic and the fly likes WebLogic logging and Admin Console Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "WebLogic logging and Admin Console" Watch "WebLogic logging and Admin Console" New topic
Author

WebLogic logging and Admin Console

Ricardo Morais
Greenhorn

Joined: Mar 26, 2008
Posts: 4
Hey Folks,

How are you doing: I hope everything is fine.
The client asked meto work with WebLogic resources since they payed for it, so I started to study how I could integrate application log with WebLogic Admin Console.
In Fact, I saw that we could have a Message Catalog or a NonCatalog but it was not so clear to me.

When calling the NonCatalog, why does it appear in Console (Prompt DOS) and does not apper in Diagnostic/Log Files/ServerLog?

Is is possible to create one option there for application?

The WebLogic documentation helped me to understand the concepts but not how to implement.

Thanks in advance.
Rick
Matt Cartwright
Ranch Hand

Joined: Aug 25, 2008
Posts: 149

Ricardo Morais wrote:
In Fact, I saw that we could have a Message Catalog or a NonCatalog but it was not so clear to me.
Rick


the documentations reads:

The [message catalog] framework is ideal for applications that need to localize the language in their log messages, but even for those applications that do not need to localize, it provides a rich, flexible set of tools for communicating status and output.


and

your application can use the weblogic.logging.NonCatalogLogger APIs to send messages to the WebLogic server log, for logging messages that do not need to be internationalized or are internationalized outside the WebLogic I18n framework


So, if you do not need any internationalization you can use the NonCatalogLogger API.


Ricardo Morais wrote:
When calling the NonCatalog, why does it appear in Console (Prompt DOS) and does not apper in Diagnostic/Log Files/ServerLog?
Rick


Let's assume you have created your domain in a directory called "weblogic" in your
home directory. The domain's name is"testdomain" and you have only one server
(AdminServer).

So your domain home is ${HOME}/weblogic/testdomain and the server's log file
would be ${HOME}/}/weblogic/testdomain/servers/AdminServer/logs/AdminServer.log.

I think you are looking in the wrong place

Viewing server log files in the Administrative Console only works for
local log files.

Hope that helps
Matt
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WebLogic logging and Admin Console