Hi,
I would like to ask how to debug the code in a system activity's script.
I used log, but I didnot find anything from the integrated server log or the execution log from the designer.
Thanks,
Xiaoli
system action log
Moderators: Jon, Steve, Ian, Dave
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
Try viewing the server log via the Manage Server icon in the designer, then Show Server Log.
If you use log instead of print, then any messages can be viewed in the same way or in the file, but only as long as the Log Info property is set to true (this is the default). You can check this in:
Manage Server > Start Server Admin App > General Properties > Logging Properties
If you still don't see anything, you should check that your System Activity is actually running. In the Manage Server > Show Server Log, you should see a message something like:
INFO ** START EXECUTION OF WORKFLOW SYSTEM TASK NODE: Node 1, ACTIVITY: tws1, JOB: JOB:tw1:1:1 **
Again this requires that the Log Info property is set to true.
If you use log instead of print, then any messages can be viewed in the same way or in the file, but only as long as the Log Info property is set to true (this is the default). You can check this in:
Manage Server > Start Server Admin App > General Properties > Logging Properties
If you still don't see anything, you should check that your System Activity is actually running. In the Manage Server > Show Server Log, you should see a message something like:
INFO ** START EXECUTION OF WORKFLOW SYSTEM TASK NODE: Node 1, ACTIVITY: tws1, JOB: JOB:tw1:1:1 **
Again this requires that the Log Info property is set to true.
0 x
-
- Ebase User
- Posts: 272
- Joined: Fri Dec 14, 2012 2:55 pm
- Location: Ottawa
Who is online
Users browsing this forum: No registered users and 2 guests