Added configuration for logging functionality