Displaying and not displaying environment variables in the log
On the computer on which the ISAM server is running, we can configure environment variables to display or not display in the server log.
Use the PD_SVC_DISPLAY_ENV_VARS or PD_SVC_DONT_DISPLAY_ENV_VARS environment variable to display or not display environment variables as required. Separate the environment variable keys by the "|" character.
- PD_SVC_DISPLAY_ENV_VARS
- Displays only the specified environment variables. The following example shows how to set this environment variable on an AIX®, Linux®, or Solaris system:
export PD_SVC_DISPLAY_ENV_VARS="PATH|HOME|PWD"The log displays only the PATH, HOME, and PWD environment variables display when the ISAM server starts.
PD_SVC_DONT_DISPLAY_ENV_VARS Displays all available environment variables except the specified environment variables. The following example shows how to use this environment variable on an AIX, Linux, or Solaris system: export PD_SVC_DONT_DISPLAY_ENV_VARS="LANG|PATH|PWD"The log displays all environment variables except LANG, PATH, and PWD when the ISAM server starts.Notes:
- The PD_SVC_DISPLAY_ENV_VARS option takes precedence over the PD_SVC_DONT_DISPLAY_ENV_VARS option.
- If the value of one of the specified environment variables keys does not exist, ISAM ignores that key.
Parent topic: Environment variables