*ARCHIVE*How to Limit Log File Numbers and Sizes


Applies To
Product(s):Exor TMA API and Web Service
Version(s):04.05.00.00
Environment: N/A
Area: Web Services
Subarea: N/A
Original Author:Lee Jackson, Bentley Technical Support Group

Problem

User reported that large log files were being created on the web server.These keep growing in numbers and in size.

Solution

In Oracle Weblogic you can implement a log file rotation policy, which will limit the number of log files created and you can restrict these to a particular size. To do this:

  1. Log in to the Weblogic console and navigate to servers.
  2. Select a server such as WLS_SOA
  3. Select the logging tab.
  4. Click the Lock & Edit button
  5. Change the settings on the General tab and the HTTP tab, saving between each. For example update the following parameters:
    1. Rotation Type = By Size
    2. Rotation file size = 5000
    3. Tick the ‘Limit number of retained files’ option to activate
    4. Files to retain = 3

See Also

Product TechNotes and FAQs

External Links

Bentley Technical Support KnowledgeBase

Bentley LEARN Server

Comments or Corrections?

Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!