logging output working lib/logger.py