PcmPortal logging variables

The portal only logs activity if debug is set on; that is, if the portal was started with the -d switch.

You can configure portal logging to:
  • log output for portal processes in a single file
  • log output for each portal process in a separate file
  • create and switch the logging to a new log file at the end of each day

PcmPortal Logging Variables:

Set the following variables in the UNIX or Linux environment. Note that by default the variables are not set which results in the behavior of the logging options being OFF unless specifically set to ON (1) as described below.

VariableDescription
XYV_LOG_PER_PIDSet to 1 (ON) to indicate the creation of a separate log file for each forked portal process.
XYV_LOG_PER_PORTSet to 1 (ON) to indicate the creation of a separate log file for each portal socket number.
XYV_LOG_CYCLESet to 1 (ON) to indicate the creation of a new log file at midnight for each running portal.

Refer to the SDL Contenta Administration User Guide for complete information about PcmPortal log files, log file naming, and other considerations.