Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
629b04dc
Commit
629b04dc
authored
Apr 27, 2022
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ci): typo when printing
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
c265cbda
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ci-scripts/cls_log_mgt.py
ci-scripts/cls_log_mgt.py
+2
-2
No files found.
ci-scripts/cls_log_mgt.py
View file @
629b04dc
...
...
@@ -81,11 +81,11 @@ class Log_Mgt:
def
LogRotation
(
self
):
doLoop
=
True
nbDays
=
14
while
doLoop
and
nbDays
>
2
:
while
doLoop
and
nbDays
>
1
:
used_space
=
self
.
__CheckUsedSpace
()
#avail space in target folder
if
used_space
>
80
:
logging
.
debug
(
'
\u001B
[1;37;41m Used Disk ('
+
str
(
used_space
)
+
'%) > 80%, on '
+
self
.
Username
+
'@'
+
self
.
IPAddress
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;37;41m Removing Artifacts older than '
+
nbDays
+
' days
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;37;41m Removing Artifacts older than '
+
str
(
nbDays
)
+
' days
\u001B
[0m'
)
self
.
__RemoveOldest
(
nbDays
)
nbDays
-=
1
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment