Source
44
44
casa['files']['telemetry-logfile'] = self.logdir + "/" + logfiles[0]
45
45
for i in range(1, len(logfiles)):
46
46
inactiveTLogSize = inactiveTLogSize + os.path.getsize(self.logdir + "/" + logfiles[i])/1024
47
47
#print "Inactive log size: " + str(inactiveTLogSize)
48
48
else :
49
49
print "Creating a new telemetry file"
50
50
self.setNewTelemetryFile()
51
51
52
52
# Setup Telemetry log size monitoring
53
53
# Size limit for the telemetry logs
54
-
tLogSizeLimit = 10000
54
+
tLogSizeLimit = 20000
55
55
# File size check interval
56
56
tLogSizeInterval = 60
57
57
try:
58
58
tLogSizeLimit = int(casa_util.getrc("TelemetryLogLimit"))
59
59
tLogSizeInterval = int(casa_util.getrc("TelemetryLogSizeInterval"))
60
60
except:
61
61
pass
62
62
# Subtract the inactive log sizes from the total log file size limit
63
63
tLogSizeLimit = tLogSizeLimit - inactiveTLogSize
64
64
if (tLogSizeLimit <= 0):