# PPT Logs

This chapter describes various log files maintained by PPT application.
These log files can be used for troubleshooting and monitoring the PPT application. This chapter includes the following sections:

- Installation Logs
- Running Logs

IMPORTANT:

The default log severity level is set to warning. PPT administrator can change this severity by updating the LOG_LEVEL in the ppt.cfg file located at the <ppt-install-dir>/etc directory. For more information on log configuration, refer to PPT Configuration File chapter.

Installation Logs

This section describes PPT installation logs.

Installation logs are created during the installation of PPT server software. These logs are maintained in <Install_logs> directory inside PPT installation directory. PPT segregates the installation logs as per version of installed PPT application.
Following is the list of log files created at the time of installation in the xx.x.xx.x directory:

- console logThis is a debug level log file created during PPT installation and is helpful for troubleshooting and debugging related issues. For example if xx.x is the version of installed PPT application, then installation logs for this version are maintained in <ppt-install-dir>/Install_logs/xx.x directory.
- postgres logThis log file contains messages specific to Postgres installation that can be helpful for troubleshooting and debugging related issues. For example if xx.x is the version of installed PPT application, then installation logs for this version are maintained in <ppt-install-dir>/Install_logs/xx.x directory.
- PPT_Installer logThis log file is generated by the InstallAnyhere and contains details regarding installation steps and actions performed during installation. For example if xx.x is the version of installed PPT application, then installation logs for this version are maintained in <ppt-install-dir>/Install_logs/xx.x directory.
- PolicyProvisioningTool_InstallLog.logThis log file is generated by InstallAnywhere and captures all events of installation process. It contains logs pertaining to the extraction of files from installer binary and records success or failure status of each event.

  IMPORTANT:

  The PolicyProvisioningTool_InstallLog.log log file corresponding to the current PPT software installation is stored at the PPT installation directory <ppt-install-dir>, however this log file is moved to <ppt-install-dir>/Install_logs/xx.x.xx.x directory once the PPT software is upgraded to different version. xx.x.xx.x stands for the PPT version being upgraded.

Running Logs

Running logs are created and maintained by PPT server for all the services and processes that are currently active.

Running log files are automatically created and maintained by PPT application.
Following is the list of running log files:

- ipcfpp.log_ipcfppThis file contains PPT logs generated via Apache and PPT scripts. This file is located in <ppt-install-dir>/server/logs directory.
- traceback_info.logThis file is used to log trace back generated when an exception occurs in PPT. This file is located in <ppt-install-dir>/server/logs directory.
- scheduler.log_schedulerThis file contains the logs generated by the scheduler process of PPT application. This file is located in <ppt-install-dir>/server/logs directory.
- postgres.logPostgres logs contains information regarding the requests of database transaction received from PPT application. The log files are maintained at <ppt-install-dir>/3rdparty/postgres/pg_log folder. These log files are labeled as postgresql-%Y-%m-%d_%H%M%S.log, where %Y, %m, %d, %H, %M, %S indicates year, month, day, hour, minute and seconds respectively. Rollover support is enabled for this log file which means that once the log file reaches 10 MB a new log file is created. PPT application can maintain up to 10 such log files.

  CAUTION:

  It is highly recommended not to modify the log file name, log file location in the Postgres configuration file located at <ppt-install-dir>/3rdparty/postgres/data/postgresql.conf. Such modifications may lead to un-expected behavior of logging functionality as well as installation and upgrade of PPT application.
- Apache logsApache logs contains information regarding the requests received from clients to the PPT server. The following log files are created and maintained at <ppt-install-dir>/3rdparty/apache/logs:
  - error_logThe error log contains messages sent from Apache for errors encountered during the course of operation. This log is very useful for troubleshooting Apache issues on the server side.
  - deflate_logThe server output being sent to client over HTTP is compressed to reduce network traffic. The deflate_log file records the compression log for each request/response.
  - access_logApache server records all incoming requests and all requests processed to this log file.
  - ssl_request_logThis file contains logs similar to those present in access_log but contains additional information for each request like, client host IP, SSL version, cipher algorithm being used.