Change `Format` to `Formater`

The wrong form was used, this might sort it.
This commit is contained in:
Jigme Datse Yli-Rasku 2024-05-29 21:53:12 -07:00
parent 18e5e8778c
commit 6f611f22cc
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ logger = logging.getLogger(__name__)
logging.basicConfig(filename='/opt/mailman/logs/courier-to-mailman.log', level=logging.INFO)
FORMAT = '%(asctime)s %(clientip)-15s %(user)-8s %(message)s'
logger.Format(FORMAT)
logger.Formater(FORMAT)
logger.info('Starting Logging (outside try)')
print('Starting Logging (outside try)')