Logging
Configuring Logging
Command Line Options
-l, --log FILE File to redirect log output.
-T, --logtime Timestamp log entries (default is true).
-s, --syslog Enable syslog as log method.
-r, --remote_syslog Syslog server address.
-D, --debug Enable debugging output.
-V, --trace Trace the raw protocol.
-VV Verbose trace (traces system account as well)
-DV Debug and Trace.
-DVV Debug and verbose trace (traces system account as well)Debug and trace
nats-server -DV -m 8222 -user foo -pass barLog file redirect
Timestamp
Syslog
Using the Configuration File
Log Rotation
Some Logging Notes
Last updated
Was this helpful?