ns_log - Send messages to the server log
TABLE OF CONTENTS
SYNOPSIS
DESCRIPTION
COMMANDS
SEE ALSO
KEYWORDS
|
This command sends a messages to the server log with severity and the one or more string args concatenated together with a single whitespace separating each arg.
Note that this only queues messages for the log and does not actually guarantee that the message is immediately written to the log. The server can be instructed to queue messages in the cache via ns_logctl hold.
Log messages are written to the server log which is the file that is returned from ns_info log. The following are the acceptable severity levels:
# note that the log message is one single arg % ns_log notice "this is a test" |
# note that each word is a separate arg to ns_log % ns_log error this is an example error log string |