Access logging access-logging
Use these server settings for logging access.
Syntax
TC::directory - Log File Folder section-5d9e2168d4504bbe9868b7d6051c9d67
The folder to which the Platform Server writes log files. This can be an absolute path or a path relative to install_folder
. Default is install_folder
/logs.
TC::maxDays - Number of Days to Keep Log Files section-45cbecffc5694c87b7d5c176a44a4885
The number of days log files should be preserved. New log files are created every day at midnight. At this time, the server deletes all files in the log file folder that are older than the specified number of days, including those written by the Image Server or Render Server. Default is 10.
TC::prefix - Access Log File Name section-1003856323b844049632710a5a056aa7
Name prefix for the file to which access log data is written. The date and the file suffix ( yyyy
- mm
- dd
.log) are appended to the specified string. The name of the access log file must be different from that of the trace log file. Default is " access-
".
TC::pattern - Access Log Pattern section-22775ea85cee444d8a7d7336a3b1feef
Specifies the data pattern for Platform Server access log records. The pattern string specifies variables which are substituted with their corresponding values. All other characters in the pattern string are transferred literally to the log record.
To use the cache warm-up utility, spaces must be used as field separators. The Platform Server replaces all spaces and ‘%’ characters in field values with %20
and %25
, respectively.
The following pattern variables are supported:
date and time, formatted as yyyy - MM - dd HH : mm : ss . SSS offset
( SSS are msec, offset is the GMT time offset); the time value is captured when the response is sent to the client.
Error category:
-
0=no error.
-
1=image(s) not found on the server.
-
2=IS protocol usage error or a content error other than 1.
-
3=other server error.
-
4=request refused due to temporary server overload.
Default is "%G %a %s %{ProcessingStatus}r %{Size}r %D %{ParseTime}r %{FetchTime}r %O %{ReqType}r '%{RootId}r' %{CacheUse}r %R [%I] '%{Referer}i' %{Host}i %{X-Forwarded-For}i %{If-None-Match}i %{If-Match}i %{If-Modified-Since}i %{Digest}r %{ContentType}r %p %{Exception}r %{CacheKey}r %{PeerServer}" %{SendTime}r %{Context}r %{TransformedUrl}r %{PathBasedAccess}r.