Troubleshooting With Logs
There are many types of logs in Digital-Clay that help locate an issue, configuration problem or bug:
Histories/Auditing
Every data form has a History button for keeping track of who changed what and when. This includes field changes, record merges, attachment changes, and record add dates (which may not always be the same as the record created date when synchronizing or importing data).
Histories can also optionally display the actual values set per field by using the “Save Value History” feature in the Field Properties. Note that the value stored is always the new value. If the property was set to save values before the item was added, the original value is saved in the history as soon as the item is added (e.g. if Customer:Name is set to store values, when the Customer “Microsoft” is added, a history entry is saved that shows “Name: Microsoft”. When the customer is changed to “MS”, a new history entry is saved on that date that says “Name: MS”.)
Deletions: The one exception to auditing is when records are deleted (not merged): If the record is deleted from inside Clay, you can try searching for it in the Deletions table in the database. This isn't very useful however unless you know the item ID or are looking for a number of deletions in a specific date. Deletions are permanent and brutal which is why items should normally be inactivated or merged, not deleted, and regular users should never have permissions to do so.
Sample Uses:
When data inexplicably changes, this is useful for tracking down who changed it and when.
Auditing
Backups may be restored based on history dates
Automation
If the Automation experienced an error, it will add an entry to the Automation Log. Typical errors that may occur are “Insufficient permissions”, validation errors, various send-mail errors, or when a field/link no longer exists.
Sample Uses:
Integrator
The log file is stored under \DigitalClay\ClayIntegrator in .csv format with one source record per row with a column that states what was done for that row. For example, if a record was skipped due to there being a duplicate in the source, it will say “Skip duplicate in source”. If the record was updated instead of added, the log will indicate this as well.
Sample Uses: When the final number of imports and updates don't match expectations, this is one method for analyzing the discrepancy by finding missing records and reading why they were skipped or whether they were updated.
Data Injection
Auto-Updates
If there was an error or problem with the update, or if you need to check when the last update ran and what it updated exactly, there is a detailed log file under \Windows\System32\WebUpdateSvc4.log
Bugs (.log files)
Note that since ClayStation for Outlook runs as an add-on, the equivalent of a crash for this client is a generic runtime error message box AND the ClayStation add-on being disabled (i.e. the ClayStation buttons no longer work until Outlook is restarted). If Outlook itself crashes and exits, this is most probably an Outlook problem and not due to Digital-Clay.
Sample Uses: When submitting bug reports to R&D, these log files should be checked for relevant errors and if entries exist, the log file should be submitted with the bug report.