Setting up a rotation logfile

There are few cases where the amount of log information becomes so huge that they are impossible to handle. For that reason, we can configure the logfiles to rotate size-based, time-based, or both.

Getting ready…

This recipe can be considered as a fine-tune addition to the Logging to a custom file recipe. We will simply expand on this recipe by adding rotation capabilities to our custom logfile.

How to do it…

We can define the rotation logfile by logging in to the Oracle Enterprise Manager Console and then right-clicking on the soa-infra node. Then, select Logs and Log Configuration. In the Log Configuration window, select the logfile definition and click on the Edit Configuration… button as shown in the following screenshot: ...

Get BPEL and Java Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.