How to Truncate Logfile Without Bouncing the Apache Server (Doc ID 376624.1)

Last updated on JUNE 21, 2017

Applies to:

Oracle E-Business Suite Technology Stack - Version 11.5.7 to 12.0.6 [Release 11.5 to 12.0]
Information in this document applies to any platform.

Goal

For diagnosing an issue reported in a Service Request it's often asked to provide a new set of Apache and/or Jserv log files. The default method of getting the new log files is:

  1. Stop Apache server
  2. (Optional) Backup current log files for later reference
  3. Delete the log files
  4. Start the Apache server which recreates the log files

However since the users in the environment are affected by bouncing the Apache server doing this in a production instance is often problematic.

The steps mentioned below explain a method to clear a log file without the need to bounce the Apache server. This allows to send in smaller log files to Oracle Support which makes it easier to capture the relevant data for the diagnostics of the problem.  

Please note that an apache restart is still required if logging levels need to be changed.

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms