<div dir="ltr">Hi tim,<div><br></div><div>In what way is log rotation not applicable to your problem? It could compress or delete older log data regularly...</div><div><br></div><div>About an external program, rsyslog comes to mind (has multiple sources and sinks for log data and can also do log rotation). There may be smaller solutions that I just don't know.</div><div><br></div><div><a href="https://www.rsyslog.com/doc/v8-stable/tutorials/log_rotation_fix_size.html">https://www.rsyslog.com/doc/v8-stable/tutorials/log_rotation_fix_size.html</a><br></div><div><br></div><div>Kind regards,<br>Jakob</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Sa., 10. Dez. 2022 um 02:03 Uhr schrieb tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I spent way too long failing to find the right search phrase, so maybe somebody here knows sometihng to get me started.<br>
<br>
My server system is writing a *lot* of output to a file via the Toothpick package's FileLogger class. I mean, like a GB/hr. I can turn it down but then I don't see the stuff that explains why it went boom. Evidently naively writing to a file and watching it with `tail -f` isn't the best idea here but all I'm spotting on the google is lots of  'use logrotate' stuff that doesn't seem to be applicable at all.<br>
<br>
Is there some technique I can use that lets me write out stuff and watch it without it filling up my little SSD? Some way to specify a file that has a maximum size and that dumps the older stuff as more is added? Some program I can pipe data to that keeps a limited set of messages?<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
Useful random insult:- Calls people to ask them their phone number.<br>
<br>
<br>
<br>
</blockquote></div>