Improve logging usage throughout core and services. Add ability to confi...

...gure clockFormat in log messages. Improve documentation