Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
Version: Windchill 12.0
Use Case: Logs and server status check to find the root cause of stuck issues.
Description:
Hello,
i have a site admin access and we are using WC 12.0
we often face CN workflow stuck issue and we don't know what is causing this.
i know that we can get something from logs but i don't know which log and how to pull that log from sever status/monitoring tool.
can someone please help on what logs can be pulled, how and what to check to find the root cause?
Br,
Sandy
Solved! Go to Solution.
Hi @Sandy7
It is bad. 😄 but you can use the log viewer from Windchill GUI
1. Go to the Site
2. Open a Server Status
3. Open Monitoring Tools
4. Open Log File Viewer
5. Select wt.log dir check box
6. Search the log files (the file name pattern is case sensitive)
hope this can help.
CS370530 - Log File Viewer in Windchill PLM
PetrH
Hello @Sandy7
The workflow is usually run in a Background method server and all events are run from queues.
So any error from the workflow is logged in a Background_MethodServer.log file
Check what time the workflow has been stuck and use this time for searching in the log file.
Go to the logs folder on the Windchill server <WINDCHILL_HOME>\logs
open the BG log and search for the time.
be sure you open the bg log file from a day when the issue apeared
One file is created every day for logging.
Based on the error in the BG log you can get the idea of the root case.
share the error stack error.
PetrH
Hi @HelesicPetr
thank you for your reply.
where can i check the BGMS logs from? i don't have access to server folders
Br,
sandeep
Hi @Sandy7
It is bad. 😄 but you can use the log viewer from Windchill GUI
1. Go to the Site
2. Open a Server Status
3. Open Monitoring Tools
4. Open Log File Viewer
5. Select wt.log dir check box
6. Search the log files (the file name pattern is case sensitive)
hope this can help.
CS370530 - Log File Viewer in Windchill PLM
PetrH
that is really helpfull.
do we have any article where i can learn about this utility more?
Thanks again for help..!
Br,
Sandeep
thank you very much..!