Keep the logs for years

The sshd log is rotated at a hundred megabytes instead of one, and the event
logs of windows are made that big as well: they are the only record of what
the box itself did, and twenty megabytes are not much with all the connections.

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Zebreus 2026-10-29 00:50:29 +01:00
commit a813326312

View file

@ -89,7 +89,8 @@ at the next run of the cleanup job, which happens within half an hour.
The server logs to `C:\ProgramData\kik-restore\sshd.log`. The log is appended to, not overwritten, because it is
the only trace of what the server did: a server that is restarted would otherwise take the evidence of an outage
with it. It is rotated when it grows past a megabyte.
with it. It is rotated when it grows past a hundred megabytes, which takes years. The event logs of windows are
made that big as well, so that they keep the history of the box itself for just as long.
Only keys may log in over SSH. The box stands in the open internet and both of its accounts have a password.