From ebbe938dc17f9de17a26979d3084d0ce22300bc6 Mon Sep 17 00:00:00 2001 From: ananthsub Date: Wed, 23 Mar 2022 14:59:09 -0700 Subject: [PATCH] Use debug instead of detail logging for per-iteration hooks (#12281) --- pytorch_lightning/trainer/trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytorch_lightning/trainer/trainer.py b/pytorch_lightning/trainer/trainer.py index 287ed2f4d1..906b67dc57 100644 --- a/pytorch_lightning/trainer/trainer.py +++ b/pytorch_lightning/trainer/trainer.py @@ -1606,7 +1606,7 @@ class Trainer( *args: Any, **kwargs: Any, ) -> None: - log.detail(f"{self.__class__.__name__}: calling callback hook: {hook_name}") + log.debug(f"{self.__class__.__name__}: calling callback hook: {hook_name}") # TODO: remove if block in v1.8 if hook_name in ("on_init_start", "on_init_end"): # these `Callback` hooks are the only ones that do not take a lightning module.