3.7.53. LogFarmInstance Previous topic Parent topic Child topic Next topic

LogFarmInstance flag parameter allows logging server farm instance number of a worker. LogFarmInstance can be configured for global level and Log clause level. LogFarmInstance enables prepending server farm instance number to the messages logged to STDOUT, when LogStdout is enabled, and to log file configured with <Log FILE> and <Log SYSLOG>. For more information, see Section 3.7.2. LogStdout.
Tip
This parameter is typically enabled when FarmSize parameter is set. When FarmSize is set, the farm supervisor logs with instance number 0. When FarmSize is not set, instance number is always 0.
# Enable server farm and prepend farm instance number to log messages
FarmSize 5
LogFarmInstance