refinery-logs(8) -- log file viewing and management¶
Synopsis¶
refinery logs [option]
Description¶
Provides the ability to interact with log files for processes on the current server.
Options¶
--list¶
Lists all the available log files for the specified process (with --process). See the [ADDITIONAL LOG FILE VIEWING OPTIONS] section below for more information.
--view¶
Views the latest log file available for the specified process. This option supports the [ADDITIONAL LOG FILE VIEWING OPTIONS] described below.
--tail¶
Tails the latest log file available for the specified process. This option supports the [ADDITIONAL LOG FILE VIEWING OPTIONS] described below.
--show-archive-config¶
Shows the current archive status for the primary log folder within Refinery.
--show-debug-logging¶
Shows the current state of debug logging on the specified proceess (with --process). See the [ADDITIONAL DEBUG LOGGING OPTIONS] section below for more information.
--enable-debug-logging¶
Enables debug logging for the specified log component (or ALL) on the specified process. This option supports the [ADDITIONAL DEBUG LOGGING OPTIONS] described below.
--disable-debug-logging¶
Disables debug logging for the specified log component (or ALL) on the specified process. This option supports the [ADDITIONAL DEBUG LOGGING OPTIONS] described below.
Additional log file viewing options¶
--process process¶
The process view the log files for
--log-file log-file¶
The file specified with this option will be opened instead of the latest log file that is opened by default. The log file must have the name of the specified process to be viewable through this command.
Additional debug logging options¶
--process process¶
The process to modify the debug logging state on. The process must be online and available for access via TCP to modify the debug logging options. If the process is busy, this operation will timeout.
--component component¶
The logging component to modify the debug logging state on. A component is the prefix on each log after the date and time to provide additional information as to the source of the log line.
In the example below, the component is cmon:
<->2020.01.23D15:31:55.639 ### cmon ### debug. ### (18507): No monitoring daemon connection ...
Specify ALL to modify all logging components on the process.
Copyright¶
Copyright (c) 2019 - 2020 KX Systems Inc
Version¶
RELEASE_NAME