Skip to content

Commit c769145

Browse files
committed
Set log level to INFO
1 parent 719000f commit c769145

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

generate.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
# "docutils",
99
# ]
1010
# ///
11+
import logging
1112
import subprocess
1213
from collections.abc import Iterator
1314
from dataclasses import dataclass
1415
from datetime import datetime, timezone
15-
from logging import info
1616
from pathlib import Path
1717
from tempfile import TemporaryDirectory
1818

@@ -84,7 +84,8 @@ class LanguageProjectData:
8484

8585

8686
if __name__ == '__main__':
87-
info(f'starting at {generation_time}')
87+
logging.basicConfig(level=logging.INFO)
88+
logging.info(f'starting at {generation_time}')
8889
template = Template(Path('template.html.jinja').read_text())
8990

9091
output = template.render(

0 commit comments

Comments
 (0)