yarn daemonlog

Gets or sets the log level for each daemon.

Syntax

yarn daemonlog

[-getlevel <host:port> <name>] | [-setlevel <host:port> <name> <level>]

Parameters

Parameter Description
-getlevel <host:port> <name> Prints the log level of the daemon running at <host:port>. This command internally connects to http://<host:port>/logLevel?log=<name>.
-setlevel <host:port> <name> <level> Sets the log level of the daemon running at <host:port>. This command internally connects to http://<host:port>/logLevel?log=<name>.