Skip to content

Commit

Permalink
Trace logging also if only DEBUG is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
aknrdureegaesr committed Dec 6, 2024
1 parent 98f02a2 commit 47a27d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def init_template_trace_logging(filename: str) -> None:
TEMPLATES_LOGGER.info("Template usage being traced to file %s", filename)


if TEMPLATES_TRACE:
if DEBUG or TEMPLATES_TRACE:
init_template_trace_logging("templates_trace.log")


Expand Down

0 comments on commit 47a27d6

Please sign in to comment.