High-level monitoring of system activity by a user is used for recording all processed Web service requests.
Example: Actions that can be logged include:
Info: Performing the described step requires direct server access. Depending upon how your system is hosted and the level of access you have to that system, coordination may be required with your Partner or WoodWing Support team.
The level of system activity that is logged is configured through the following option:
- File: configserver.php file (recommended: config_overrule.php file)
- Name of option: LOGLEVEL
- Possible values:
- 0 - High-level logging not enabled
- 1 - Logon and Logoff only
- 2 - All Web service calls
Note: Logging all service calls results in a large number of rows in the smart_log table.
- Default value: OFF
- Example: <![CDATA[ ]]>
define ('LOGLEVEL', '0');
Services that can be logged
|ChangeOnlineStatus||Service called when an object is taken offline or set back to online.|
|ChangePassword||Logged when a user changes the password.|
|CreateObjectRelations||Logged when a relation is created between 2 objects. Example: placing an image in a Dossier.|
|CreateObjects||Logged when an object is created. Example: saving an article for the first time.|
|DeleteObjectRelations||Logged when the relation between 2 objects is broken. Example: removing an image from a layout.|
|DeleteObjects||Logged when an object is moved to the Trash Can.|
|GetObjectRelations||Logged when displayed objects are related to each other.|
|GetObjects||Logged when the properties of an object are requested.|
|GetServers||Gets a list with application servers. Used during log-on to list the application servers in the logon dialog.|
|GetVersion||Logged when object version information is retrieved.|
|ListVersions||Logged when the “Show Versions” option is chosen in a client application.|
|LogOff||Logged when user logs off.|
|LogOn||Logged when user logs on.|
|NamedQuery||Logged when a named query is executed, for instance “Inbox”.|
|QueryObjects||Logged when a query is done to retrieve a particular set of files, or when a search is performed in Studio.|
|RestoreVersion||Logged when a previous version is restored.|
|SaveObjects||Logged when an object is saved. Example: saving an article it is changed.|
|SendMessages||Logged when the Message option is used in the Publication Overview Application in Studio.|
|SendTo||Logged when a user sends a message to an object. Example: using the Message icon in the Publication Overview Application in Studio.
Also logged when a user places a Sticky Note on a page.
|Service Purge Objects||Logged when an object is permanently deleted (Empty Trash Can).|
|SetObjectProperties||Logged when one of the properties of an object is changed. Example: changing the Workflow Status.|
|UnlockObjects||Logged when an article or layout is unlocked. Example: checking-n an article.|
|UpdateObjectRelations||Logged when the relation between 2 objects is changed. Example: using the “Send Geometry” option or placing an image that is placed in a Dossier is placed on a layout within the same Dossier.|
Viewing system activity
The result of the Web service logging is written to the smart_ log table and can be viewed through the Service Logs page in Studio Server.
Step 1. In Studio Server, access the Service Logs page by doing the following:
Step 1a. In Studio Server, click Advanced in the Maintenance menu or on the Home page. A page with all advanced Maintenance features appears.
Step 1b. Click Service logs.
The Service Logs page appears.
Step 2. (Optional) Filter the page by using the various lists at the top of the page.
Step 3. Click the Search icon. The results are shown on the page.
Figure: An example of the results.
Periodically cleaning up Service Logs
When Service logging is enabled, the smart_log table can quickly fill up with a large number of entries. This can result in performance issues.
To clean up the table, an Studio Server Job named 'AutoCleanServiceLogs' can be periodically run.
Step 1. Make sure that Studio Server is set up and configured to run Server Jobs.
Step 2. In Studio Server, access Integrations > Job Configurations and configure the Server Job named 'AutoCleanServiceLogs'.
Step 3. Enable the following options in the configserver.php file (recommended: config_overrule.php file):
Note: For configuration details, see the comments in the configserver.php file.
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
Please sign in to leave a comment.