Skip to main content

Logging and Monitoring

  • Chapter
  • First Online:
Oracle WebLogic Server 12c Administration I Exam 1Z0-133
  • 609 Accesses

Abstract

All middleware environments eventually face circumstances that affect the availability of their subsystems and of the applications running on them. Oracle WebLogic Server administrators must anticipate these events by closely monitoring the behavior of the JVM and reviewing the information available in log files, which can assist before and after these events occur.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    WebLogic Server provides support for applications to produce messages and send them to the server log without using its standard catalog.

  2. 2.

    The Java logging API URL is https://docs.oracle.com/javase/7/docs/api/java/util/logging/package-summary.html .

  3. 3.

    The Apache Log4J open source project URL is http://logging.apache.org/log4j/ .

  4. 4.

    In production systems, use the Debug and Trace logging levels with caution, keeping in mind that the server will need to use much more resources than usual to process such levels of verbosity.

  5. 5.

    The JVM will resort to the OS configuration to determine the locale and format to use to display the log message timestamp.

  6. 6.

    Node Manager also keeps its own log file named nodemanager.log, located in the nodemanager directory in the domain root. This file contains its own server startup and status messages

  7. 7.

    It is also possible to also store transaction logs in a database instead of in the file system. Either option is configurable using the Administration Console, in the Default Store section of the Services page under the General tab of the corresponding server.

  8. 8.

    Changing log file name and location, log rotation type, and directory, and whether or not to rotate the log file at startup will require a server restart to become active.

  9. 9.

    In production mode, WebLogic Server will by default rotate the file when it reaches 5MB in size and will not rotate the log file upon server start.

  10. 10.

    Java Directory Naming Interface or JNDI is an API that maintains a type of directory service for software components and allows Java software clients to discover objects by name.

  11. 11.

    These states are defined in the weblogic.health.HealthState class from the WebLogic API.

  12. 12.

    From this page JVM garbage collection can be forced and thread stacks can be dumped.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Gustavo Garnica

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Garnica, G. (2018). Logging and Monitoring. In: Oracle WebLogic Server 12c Administration I Exam 1Z0-133. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2562-2_7

Download citation

Publish with us

Policies and ethics