PSM_DEBUG configuration parameter

Use the PSM_DEBUG configuration parameter to specify the amount of debugging information that prints in the Informix® Primary Storage Manager debug log if you want to use a debug level that is different from the one used by ON-Bar.

onconfig.std value
Not set. The default value is used.
default value
The value of the BAR_DEBUG configuration parameter is used.
units
One digit to represent the level of debugging information that you want
range of values
0 = No debugging messages.
1 = Prints only internal errors.
2 = Prints information about the entry and exit of functions and prints internal errors.
3 = Prints the information specified by 1-2 with additional details.
4 = Prints information about parallel operations and the information specified by 1-3.
5 = Prints information about internal states in the Informix® Primary Storage Manager.
6 = Prints the information specified by 1-5 with additional details.
7 = Prints information specified by 1-6 with additional details.
8 = Prints information specified by 1-7 with additional details.
9 = Prints all debugging information.
takes effect
When the onpsm utility starts
When the ON-Bar utility executes commands and reads information that is specified in the BAR_DEBUG configuration parameter
When you reset the value dynamically in your onconfig file by running the onmode -wf command.
When you reset the value in memory by running the onmode -wm command.

Usage

If you set the PSM_DEBUG configuration parameter to a valid value that is higher than 0, the Informix® Primary Storage Manager logs debug messages to its debug log.

You can experiment with the debug values to find the right amount of information. Generally, if the PSM_DEBUG configuration parameter is set to 5, the storage manager prints enough information for tracing and debugging purposes.

Settings of 8 and 9 require a large amount of space.

You can also use the PSM_DEBUG environment variable to specify the amount of debugging information that prints in the storage manager debug log for your environment, for example, for a single session.