Logging Customization Work

Owen Sood-Giddings  |  01/03/2018
Views: 624
Likes
5
Login to subscribe to the blog

Image

One of our favorite tips involved the logging of customization work. I wanted to expand just a bit on that tip.

When creating logs for OSvC, consider creating a custom object that stores errors generated from your customizations.Then you can build in alerts and reporting using the base product to monitor your customizations for issues.  Most commonly, you'll see the CBO record the error message, stack trace, line number and some identifier for which customization the error came from. You could also print out relevant IDs or data points so that they can be referenced for debugging later.  

There's a fine balance between over-logging and under-logging: you want to be able to identify issues and debug them but you don't want so many non-actionable log items that information gets lost in the noise or your CBO table gets filled up and you can't report on it anymore.

In order to post comments, please log in.
If you do not have an account, create one here.
Login Join now.

Viewing our site using a mobile device? Our mobile pages are just a tap away.

View site in: Desktop | Mobile