Deployment Pre-Req Missing Error X-Forwarded-For-Custom-Logging
When running a deployment in Tyler Deploy with check-prereqs enabled, or when checking prereqs from the Infrastructure Management page, x-forwarded-for-custom-logging is listed as missing on one or more servers.
Deploy
Prereqs
Application uses CNAMES
Log into the applicable target server with tylerservice or equivalent
Open IIS Manager
In the Connections panel on the left, click the arrow next to the server name
Expand Sites
Click the applicable web site
Double-click Logging
Under the Log File section, click Select Fields
In the bottom left corner, click Add Field
In the Add Custom Field window, complete the following fields:
Field Name: X-Forwarded-For
Source Type:Â Request Header
Source: X-Forwarded-For
Click OKÂ on the Add Custom Field window
Click OKÂ on the W3C Logging Fields window
From the Actions pane on the right, click Apply to implement the change
CNAME records are typically used to map a subdomain such as www or mail to the domain hosting that subdomains content
The log files are located by default in the directory %SystemDrive%\inetpub\logs\LogFiles. IIS creates new log files and appends _x to the log file names to indicate that they contain custom fields.