From 6e4598c19978c0d033071a46915b51324c4defa3 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Sun, 12 Apr 2020 02:27:02 -0700 Subject: [PATCH] improve log file name readability --- hyperglass/configuration/models/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperglass/configuration/models/params.py b/hyperglass/configuration/models/params.py index 4a27ef1..376ad9f 100644 --- a/hyperglass/configuration/models/params.py +++ b/hyperglass/configuration/models/params.py @@ -178,7 +178,7 @@ class Params(HyperglassModel): now = datetime.now() now.isoformat value = Path( - f'/tmp/hyperglass_{now.strftime(r"%Y%M%d-%H%M%S")}.log' # noqa: S108 + f'/tmp/hyperglass_{now.strftime(r"%Y%M%d_%H-%M-%S")}.log' # noqa: S108 ) return value