diff --git a/ansible_collections/arista/cvp/plugins/module_utils/logger.py b/ansible_collections/arista/cvp/plugins/module_utils/logger.py index b05889022..a581c5b84 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/logger.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/logger.py @@ -49,7 +49,7 @@ # set a format which is simpler for console use formatter = logging.Formatter( - '%(name)-12s: %(levelname)-s - func: %(funcName)-12s (L:%(lineno)-3d) - %(message)s') + '%(asctime)s - %(name)-12s: %(levelname)-s - func: %(funcName)-12s (L:%(lineno)-3d) - %(message)s') # set up ROOT handler to use logging with file rotation. handler = logging.handlers.RotatingFileHandler(