You can use the log settings to set how the system logs errors and warnings.
To set your log settings:
- Open the Primavera P6 Administrator.
- In the Configurations drop-down list, select your configuration.
- In the sidebar select Log.
- Select Asynchronous to log messages after the previous one has been logged for better performance. The default is unselected.
- To configure Console Logger settings:
- Select Enabled, to enable the console logger. The default is unselected.
- In the Severity Level drop-down menu, select one of the following severity levels for the Console Logger:
- debug
- info
- warn
- error
Notes:
- The default severity level is info.
- The ranges are inclusive. For example, select "debug" to log all messages; select "warning" to log both warning and error level messages.
- To configure File Logger settings:
- Select Enabled, to enable the file logger. The default is selected.
- Select HTML, to log as HTML, or leave the option clear to log as plain text.
- Note: Log files are created in a folder named WebAccessLogs, located in webaccesshome\WebAccessLogs
- In the Archive Size field, enter the minimum size (in Kb) a log file must be before it is archived.
The default value is 1024.
Enter a value between 1024 and 15360.
- In the Severity Level drop-down menu, select one of the following severity levels for the File Logger:
- debug
- info
- warn
- error
Notes:
- The default severity level is error.
- The ranges are inclusive. For example, select "debug" to log all messages; select "warning" to log both warning and error level messages.
- In the Number of Archive Files field, enter the maximum number of log files to use.
Enter a value between 2 and 2073600000. The default value is 6.
Note: The default files are named WebAccessLog0.html through WebAccessLog5.html.
- To configure Email Logger settings:
Note: The email logger only sends information about Error messages.
- Select Enabled, to enable the Email Logger. The default is unselected.
- In the SMTP Host field, enter SMTP server that will send the email message.
- In the From Email Address field, enter the email address that you want to send log messages.
- In the To Email Address field, enter the email address where you would like log messages sent.
- In the Email Subject field, enter the subject line for error emails. The default value is P6 Web Access error.