Differences

This shows you the differences between two versions of the page.

Link to this comparison view

action log [2016/09/14 18:19]
action log [2016/09/14 18:19] (current)
Line 1: Line 1:
 +====== Action Log ======
  
 +The Action Log allows you to see what is happening when you run an [[Action|action]] or series of actions in a [[Action Type - Run Function|function]]. This is especially useful in troubleshooting. ​
 +
 +===== How To Create an Action Log =====
 +//Click on any image to see a larger version.//
 +
 +|< 100% 40% 60% >|
 +|To create an action log, pull up the [[Handbook]] on the [[Block Creator]]. Select Action Log from the Tools section.|{{::​actionlog_handbook.png?​direct&​600|}}|
 +|Click the button at the top to turn on the logging. |{{::​actionlog_turnon.png?​direct&​600|}}|
 +|In the popup, give your log a name. For example, in this application I am running a log to see what happens when I click an button marked "Add Shipment",​ so I will name the log "​adding shipment"​.|{{:​actionlog_enable.png?​direct&​400|}}|
 +|Leave this tab open and go back to your application. Do whatever it is you want to take a log of. Then come back to this tab and click Turn Off Logging.| {{:​actionlog_turnoff.png?​direct&​600|}}|
 +|When the page refreshes, your new action log will be in the list. |{{:​actionlog_added.png?​direct&​600|}}|
 +
 +
 +===== Getting Information from the Action Log =====
 +//Click on any image to see a larger version.//
 +
 +|< 100% 40% 60% >|
 +|When you click on the log, you will see a list of actions that took place. If you are looking for a particular action, you can search for the ID by using CTRL-F. You can find the action ID by looking in the [[Action Manager]] for the particular form or field that contains the action. |{{::​actionlog_actionid.png?​direct&​500|}}|
 +|The action log is color-coded and indented. The blue bars show when an action begins. If there are actions nested together, each child action will be an indented under the parent. The orange bars show you what is happening as the action executes. For example, if your action is an [[Action#​Evaluation|evaluation]],​ the orange bar will show what values are returned. |{{::​actionlog_expression.png?​direct&​500|}}|
 +|The gray bars show when an action is completed.|{{::​actionlog_completed.png?​direct&​500|}}|
 +
 +===== ACCESSING THE ACTION LOG IN TESTING AND PRODUCTION APPLICATIONS =====
 +==== REMOVE THE URL ====
 +
 +To access and use the Action Log in an application that is in the Testing or Production role simply remove the text after your application'​s url address.
 +
 +{{::​action_queue.png|}}
 +
 +==== REPLACE THE URL ====
 +
 +In place of the information removed, paste /​im_tools/​logger/​view.php
 +
 +{{::​action_logger.png|}}
 +
 +This will launch the Action Log in your application to use in Testing and Production.
action log.txt ยท Last modified: 2016/09/14 18:19 (external edit)
Copyright WorkXpress, 2024