once it reaches a certain point (and it takes days to get there) the "log file" stops adding to the log.
once it reaches a certain point (and it takes days to get there)
the "log file" stops adding to the log.
What's the size of it? Is it the same size each time?
anybody else have a problem with tailing mis.log file??
raspbery pi4 (4gb) a46 build
tail -f mystic/logs/mis.log or even cat mystic/logs/mis.log
once it reaches a certain point (and it takes days to get there) the "log file" stops adding to the log.
is there a way to FIX the caching so it doesn't die??anybody else have a problem with tailing mis.log file??
raspbery pi4 (4gb) a46 build
tail -f mystic/logs/mis.log or even cat mystic/logs/mis.log
once it reaches a certain point (and it takes days to get there)
the "log file" stops adding to the log.
MIS opens the log and keeps it open, only writing to the log file when
it has 4 kilobytes of data to write. It does this to reduce wear and
tear to the disk and it speeds things up a bit.
You can disable that function by turning the log caching off. MIS
will then update the log file immediate, but it has to open, write,
and close the file each time a line needs to be added to the log.
This is harder on your disk but you'll be able to tail it.
You can turn it off in Servers > Logging > MIS.LOG > Cached Log > No
MIS opens the log and keeps it open, only writing to the log file whe it has 4 kilobytes of data to write. It does this to reduce wear and tear to the disk and it speeds things up a bit.
is there a way to FIX the caching so it doesn't die??
I don't think its dying it just doesn't write to the log until it gets enough data to write to the log, thats what caching is. So if you
either want it to write in chunks of logs at a time, or you want it to write line by line.
Maybe what I can do for MIS is have it update the log after a numberone thing I have noticed, is when it happens, it will only write the date
of seconds even if the cache isn't filled yet.
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,037 |
Nodes: | 15 (0 / 15) |
Uptime: | 08:57:37 |
Calls: | 764 |
Calls today: | 4 |
Files: | 95,171 |
D/L today: |
962 files (146M bytes) |
Messages: | 299,224 |
Posted today: | 2 |