Improve logging usage throughout core and services. Add ability to configure clockFormat in log messages. Improve documentation