Added logging
Simplified logging. Getting weaver config.