I am using the Failed Request Tracing component in IIS. One of the logs it has written ends with a LOG_FILE_MAX_SIZE_TRUNCATE
error.
According to the documentation, this is controlled by the maxLogFileSizeKB
settings:
If failed request tracing logs exceed this value, IIS will truncate the logs at the maximum file size and specify LOG_FILE_MAX_SIZE_TRUNCATE for the trace event.
The default value is 1024.
Apparently, I am supposed to be able to configure that value by clicking the Sites node, and then opening the website default dialog box. However, that maximum log size setting doesn't seem to be in there (German screenshot, but it should be analogous in other localized versions of IIS):
The docs also explain how to change the setting directly in Web.config
, but instead of the depicted <traceFailedRequestsLogging>
element, I only have a <traceFailedRequests>
element in my Web.config
files.
Curiously, I cannot even find any Web.config
file on my entire disk that contains the general settings configured for the module (e.g. the target path for the log files):
What am I doing wrong?