• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WebLogic logging and Admin Console

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 152
VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic