Added support for application-level logging and log configuration.