Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By : Dalton Iwazaki
Book Image

Oracle WebLogic Server 12c Advanced Administration Cookbook

By: Dalton Iwazaki

Overview of this book

Table of Contents (15 chapters)
Oracle WebLogic Server 12c Advanced Administration Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Limiting the log disk usage


WebLogic Server 12c fixes a file size limit of 5 MB for the domain, server, and HTTP logs. It also sets 100 as the maximum number of rotated files for the domain and server logs. The HTTP access.log file does not have a default limit of rotated files. This is the default configuration for WebLogic Server 12c domains running in the production mode.

In this recipe, the logging subsystem will be configured, so that all the PROD_DOMAIN domain logfiles usage never surpasses a known disk size usage.

Getting ready

The logging subsystem is configured by using the Administration Console, so make sure the Administration Server is running.

How to do it...

Carry out the following steps to limit the log disk usage:

  1. Access the Administration Console with your web browser at http://adminhost.domain.local:7001/console.

  2. Click on the Lock & Edit button to start a new edit session.

  3. Expand the Environment tree to the left and then click on Servers.

  4. Click on the PROD_Server01 link. Click...