Editing logging properties
This topic provides instructions on editing the logging properties for a TrueSight Network Automation application server.
You must have edit rights to be able to open the Edit Logging Properties page. The logging properties, taken from the BCAN_DATA\logging.properties file, are displayed in edit mode.
On the Admin > System Admin > Logging Properties page, click Edit and do the following:
(Optional) Edit the log levels for an item by changing the value in a line of the following type:
<logger class/component/package>.level=<LogLevel>(Optional) Click Insert to add a property, and select one of the predefined property types from the drop-down menu:
- Device File Transfer Debug Properties: Adds lines that enable debugging of device data transfers, and ena-*.tmp files are not deleted. Refer to your device agent path settings to determine where these .tmp files are located.
- Device Import XML File Debug Properties: Adds a line that enables debugging of device imports, and intermediate XML files are not deleted. The files can be found in the following directories:
- C:\Windows\temp (Microsoft Windows)
- BCA-Networks-Data/tmp (Linux)
- Device Interaction Debug Properties: Adds lines that enable debugging of device interactions, including the data sent to and received from devices in the log in ASCII and binary formats, as well as some trace of command processing and property setting.
- Profiling Properties: Adds a line that enables logging of memory usage every 5 seconds, and requests garbage collection every 2 minutes. For this logging method to work, the profileMemory global property must be enabled in the global.properties file. See Default-global-properties-file.
- (Optional) Return the values in the logging.properties file to the default values by clicking Revert to Default.
Click Save to save and implement your changes to the logging properties for the application server.
How to video
For more information about editing the logging properties, watch the following video (03:34).
https://www.youtube.com/watch?v=lWuMvC7jC4I