When you install a hotfix, the Nlog.config file settings reset to default, so you must reconfigure the settings to enable the enhanced logs.
-
Go to ..\SmartPlant\P&ID Workstation\bin folder and open the NLog.config file.
-
In the code, uncomment the AdvMainLog <target> element.
To uncomment, remove both the opening <!-- and closing --> tags that surround the element.
-
Under rules section, uncomment the ADVMAIN <logger> element.
The next time you recreate or update the drawings, you can see more detailed information in the log file.
Increase the log level to Debug
In the ADVMAIN logger rule, change the minlevel value from "Info" to "Debug".
If you increase the log level to Debug, the application generates numerous entries, that can increase the log file size. For efficiency, the application archives the file when it reaches the 10MB size limit and saves it at the specified path. The name format for the archived log file is Smart P&ID-[yyyy_MM_dd_HH_mm_ss].log. For example, Smart P&ID-2024_04_23_15_30_32.log