Incorrect 'default-web-access.log' Contents when $Time is used in Format Field

(Doc ID 471820.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version: to
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 - 'netstore' - - [ - 'netstore' - - [ - 'netstore' - - [

Expected Log ouptut - 'netstore' - [11/Dec/2007:18:38:19.765 +] 'GET /store/pc/sys/include/login_esi_inc2.jsp HTTP/1.1' 200 1263 [ac10c01c30d80ebb8325339b40b399cebac12104b113.e3mSa3qRch8Le3yMa3aTaNmSbi0] [ecid: 19216871283,0]


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