So, I was trying to understand why we weren't getting some info we expected on some crash reports, and I realized that /home/chronos/user/log/chrome isn't a symlink in the way that /var/log/chrome/chrome is. Instead, as far as I can tell, it's a real file which is never rotated.
On my real laptop (not in dev mode), file:///home/chronos/user/log/ displays:
Name Size Date Modified
chrome 24.4 MB 2/4/22, 12:45:29 PM
libassistant.log 204 kB 6/16/21, 8:46:16 PM
libassistant.log_rotationlock 0 B 6/15/21, 12:10:19 PM
There's no timestamped chrome_20220127-094449 files like there is in file:///var/log/chrome/.
And looking at file:///home/chronos/user/log/chrome, I see entries all the way back to June of last year, which I think is when I acquired this machine. 24MB is really big and file:///home/chronos/user/log/chrome takes a long time to load.
So -- is the current layout wrong or is there a reason for it? Having an unrotated log file seems like we risk having the disk fill up eventually.
I can update the docs and the crash_reporter_logs.config file if the current layout is correct, but my first instinct is to try & make file:///home/chronos/user/log closer to file:///var/log/chrome/