Skip to content

Commit 0bc6b99

Browse files
authored
Update log_module.py
1 parent df93445 commit 0bc6b99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

log_module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class log_module:
3838
def __init__(self,file_path='./log'):
3939
4040
Path(file_path).mkdir(parents=True,exist_ok=True)
41-
now_time = datetime.now().strftime('%Y-%m-%d_%H')
41+
now_time = datetime.now().strftime('%Y-%m-%d')
4242
4343
self.logger = logging.getLogger('Kube_pod_manager')
4444
self.logger.setLevel(logging.DEBUG)

0 commit comments

Comments
 (0)