The support logs maintain an internal record of events of interest from the operations of an active SDN controller. This information is the type of data a support engineer would request when troubleshooting an SDN installation.
Support logs and controller teams
In a controller team environment:
Each controller maintains its own support logs.
Changing the log.queue.size
on any controller propagates to all active controllers in the team.
The
action gathers the set of support log file data from all active controllers in the team, and stores the data as a single compressed archive.The log file is configured to have a maximum size of 10MB and to keep 4 previous versions). With 4 full previous versions and the one active log, the core controller logging will consume at most 50 MB of disk space. The controller allows up to five support logs; one active and four in storage:
When the current log reaches 10MB, the controller copies the log to storage and starts a new log.
When the space allocated for all support logs is full, the controller purges the oldest log file to make room for continued logging operation.
Support logs are stored in the controller /var/log/sdn/virgo/logs
directory.
Support logs can be exported to a file (see “Exporting the support logs ”)
The default queue size is 100 lines. To configure a different queue size, change the value for the max.display.rows
key of the LogManager component.
Gathers the set of support log file data from the controller, or in a team environment, all active controllers in the team, and stores the data as a single compressed archive file:
Downloads the archive file from the controller to the default download directory specified by your browser. For example, in Ubuntu installations, this is usually the Downloads
directory.
The following menu appears in the lower-left corner of the controller console:
When the download completes, you can either resume interaction with the controller or examine the log by selecting an item from the menu, such as:
NOTE: The actions resulting from these choices depend on the browser and operating system, not on the controller. | |