Add custom log handler
--log-handler
format
command
--log-handler
adds
a log handler that writes log data to the application specified by format
command
command
in
the format specified by format
.
The server instance launches an instance of the log handler
at startup. All log events are sent to the STDIN
stream
of the log handler. The STDOUT
and STDERR
streams
of the log handler are captured and written to
and INSTANCE_ROOT
/log/custom_logger_N
.out
.INSTANCE_ROOT
/log/custom_logger_N
.err
format
Format used to write log events. Valid values are:
text/plain
text/json
text/xml
command
Application launched to process log events.
Send log events to a custom JSON parser that prepares performance graphs.
--log-handler text/json perf_grapher