mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
monitor: add log include location option on monitor CLI and API (#18795)
This commit is contained in:
@@ -45,6 +45,11 @@ type MonitorRequest struct {
|
||||
// LogJSON specifies if log format should be unstructured or json
|
||||
LogJSON bool
|
||||
|
||||
// LogIncludeLocation dictates whether the logger includes file and line
|
||||
// information on each log line. This is useful for Nomad development and
|
||||
// debugging.
|
||||
LogIncludeLocation bool
|
||||
|
||||
// NodeID is the node we want to track the logs of
|
||||
NodeID string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user