add logging facility