Logs in PM Compass are captured on the client side and the server side.
When a user interacts with PM Compass through their web browser or application, client-side logs record relevant events, errors, and actions. These logs help diagnose issues related to the user’s local environment, browser, or device.
Client Performance Logs: These logs are generated on the client user's machine. You can enable this logging by selecting the Enable Metric Logs checkbox on the General tab of the User Preferences dialog box.
On the server side, PM Compass logs events, requests, and errors that occur within the application itself. These logs are essential for monitoring system health, identifying performance bottlenecks, and troubleshooting issues.
Performance Logs: These logs are being appended to a single file. You can enable this logging by updating the web.config file.
Method Call Logs: These are logs generated for each server request initiated by the client. You can enable this logging by updating the web.config file.
Method call logs are stored in the <PM Compass installation location>\Logs folder (for example, \MAKV000\c$\Program Files (x86)\Deltek\PMCompass\Logs).
When EnableMethodcallLogging is set to Y, PM Compass creates a file called Methodcall<yyyymmdd>.log under the said folder path.
The format of the generated log is: [time in milliseconds], [timestamp], [application server name], [class and method to be called], [PMC user making the request], [database name].
Sample Log Content
16.0547,success,2021-02-04T09:45:48.449,AS102095,Deltek.PMCompass.Dashboard.Server.Dashboard,GetData,SYSADMIN,AS102095,PMC82_8485_WF_AUTO1
SQL Logs: These logs capture the SQL queries being executed by the server. Any SQL exceptions that occur at the database level will also be captured. You can enable this logging by updating the web.config file.
This mode is verbose logging that captures every query and the time it takes to execute the query. This logging is helpful when determining performance issues. This logging should only be enabled when determining performance issues.
User Debug Logs: These logs capture application debug log statements per user, such as Cobra Web Service calls with parameters or values, non-fatal messages, and more. It generates a file format, PMC_User_[UserID]_[SessionID].log.