We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd36f1a commit 624fdcfCopy full SHA for 624fdcf
tryloguru/LogTestLoGuru.py
@@ -33,7 +33,8 @@
33
34
def init_logging():
35
# UTC so global logs sync.
36
- dt = datetime.datetime.utcnow()
+ # deprecated -> dt = datetime.datetime.utcnow()
37
+ dt = datetime.datetime.now(datetime.UTC)
38
scriptName = os.path.basename(__file__)
39
print(scriptName)
40
# If needed, put the log file in a log directory using:
0 commit comments