adding logging output logger.py using sqlite3