mirror of https://github.com/Aidaho12/haproxy-wi
v3.4.4.6
parent
4089f92947
commit
c930ead7a9
|
@ -29,7 +29,7 @@ time_storage = sql.get_setting('log_time_storage')
|
||||||
time_storage = int(time_storage)
|
time_storage = int(time_storage)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
time_storage_hours = time_storage * 24
|
time_storage_hours = time_storage * 10
|
||||||
for dirpath, dirnames, filenames in os.walk(log_path):
|
for dirpath, dirnames, filenames in os.walk(log_path):
|
||||||
for file in filenames:
|
for file in filenames:
|
||||||
curpath = os.path.join(dirpath, file)
|
curpath = os.path.join(dirpath, file)
|
||||||
|
|
Loading…
Reference in New Issue