Christoph Schlosser
unread,Jan 29, 2024, 8:25:31 AM1/29/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ChromiumOS Development, Irina Fedorova, Sarthak Kukreti, Daniil Lunev
Hi Irina,
What new logs are you planning to store that you expect to run out of disk space if they're kept for 7 days?
Just to clarify: Are these logs originating from Chromium?
If yes, then beware that Chromium has its own logic for
rotating and
storing logs.
Only logs emitted through the
SYSLOG(SEV) macros are sent to syslog and managed by the page you found.
> The documentation said that it is possible to do log rotation on a 7 days basis. I'm afraid that we will consume a lot of memory if we save 7 days of logs, and we actually need only 2 days of logs. Is it possible to save only 2 days of logs?
> IIUC for syslogs chrome sessions are not relevant.
Correct.
> Also, is it possible to limit the file size to a particular number of messages? E.g. save first 10000 messages or even better the last 10000 messages? Or maybe limit in by MB, not by messages?
This isn't possible either but IIRC if storage is running low there are mechanisms to clear things up.
+Sarthak and +Daniil to keep me honest.
--
Christoph