My Oracle Support Banner

Incorrect 'default-web-access.log' Contents when $Time is used in Format Field (Doc ID 471820.1)

Last updated on MARCH 17, 2021

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.


In OC4J 10.1.3.x.0, when the logging format of the default-web-access.log is changed using the following attribute in default-web-site.xml the log output is not correct, ie log entries will be truncated after the ($user) field and append to the current line rather than starting a new line.


<access-log path="../log/default-web-access.log" split="day" format="$ip - $user - [$time]
'$request' $status $size [$cookie:JSESSIONID] [ecid: $header:Oracle-ECID]" />

Incorrect Log Output seen in the default-web-access.log

<IP_ADDRESS> - 'netstore' - - [<IP_ADDRESS> - 'netstore' - - [<IP_ADDRESS> - 'netstore' - - [

Expected Log ouptut

<IP_ADDRESS> - 'netstore' - [11/Dec/2007:18:38:19.765 +] 'GET /store/pc/sys/include/login_esi_inc2.jsp HTTP/1.1' 200 1263 [<JSESSIONID>] [ecid: <ECID]



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.