Runs a Linux tail
command on the specified server and given log file. You must specify the log file name including the extension. If you don’t specify a path, or specify a relative path, then we will assume <stack-directory>/current/log
(i.e. the subdirectory und $STACK_PATH
) as the current directory. You can specify a different (absolute) log path as needed.
This command is only supported on Linux and OS X.
$ cx tail --stack <application name> <server name> | <server ip> | <server role> /optional/log/path/<log filename>