Switch to XML service configuration
Log events. Fixes #13