Setup logging facility