Editing logging properties
This topic describes how to edit the logging properties for a BMC Network Automation application server.
To edit logging properties
Open the Edit Logging Properties page by navigating to Admin > System Admin > Logging in the BMC Network Automation UI, and clicking Edit.
The logging properties, taken from the BCAN_DATA\logging.properties file, are displayed in edit mode.
You can edit the log levels for an item by changing the value in a line of the following type:
<logger class/component/package>.level=<LogLevel>You can add properties by clicking Insert, and selecting 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.
- You can 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.
For more information about editing the logging properties, watch the video (03:34) located on BMCtv.