4.2.1 Log types
The following table describes the types of log.
|
Types of log |
Directives to be specified |
Functionality |
|---|---|---|
|
Access log |
TransferLog |
|
|
CustomLog |
|
|
|
Error log |
ErrorLog |
|
|
ScriptLog |
|
|
|
Request log |
HWSRequestLog |
|
|
Process ID log |
PidFile |
|
|
Event log |
None |
|
|
Internal trace |
HWSTraceLogFile |
|
|
Shared memory ID log |
HWSTraceIdFile |
|
|
Core file# |
CoreDumpDirectory |
|
|
WebSocket log |
HWSWebSocketLog |
|
- #
-
The log is output when you specify the settings to output the core file in the OS.
For details on the setting method, see the respective OS manual.
If the size of the access log, error log or request log exceeds 2 GB, HTTP Server might abnormally end or not restart. Back up the log files periodically, or specify settings so that the sizes of the log files do not exceed 2 GB, as noted in 4.2.3 Dividing logs (rotatelogs program) and 4.2.4 Reusing the log files by wrapping around (rotatelogs2 program).