doc:appunti:linux:sa:debian_upgrade_12_13
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:debian_upgrade_12_13 [2025/12/09 14:30] – [Syslog] niccolo | doc:appunti:linux:sa:debian_upgrade_12_13 [2025/12/09 17:24] (current) – [Syslog] niccolo | ||
|---|---|---|---|
| Line 39: | Line 39: | ||
| I log di sistema vengono creati secondo i criteri stabiliti in **/ | I log di sistema vengono creati secondo i criteri stabiliti in **/ | ||
| - | Anzitutto è possibile decidere se i log di sistema debbano essere conservati in **memoria | + | Anzitutto è possibile decidere se i log di sistema debbano essere conservati in **memoria |
| < | < | ||
| [Journal] | [Journal] | ||
| Storage=volatile | Storage=volatile | ||
| + | </ | ||
| + | |||
| + | Al restart del servizio systemd-journald viene creato la directory **/ | ||
| + | |||
| + | Per limitare lo spazio utilizzato su memoria permanente (filesystem su disco) si possono usare diverse opzioni **%%System*%%**, | ||
| + | |||
| + | ^ For persistent file system | ||
| + | ^ SystemMaxUse | ||
| + | ^ SystemKeepFree | ||
| + | ^ SystemMaxFileSize | ||
| + | ^ SystemMaxFiles | ||
| + | ^ For volatile in-memory file system | ||
| + | ^ RuntimeMaxUse | ||
| + | ^ RuntimeKeepFree | ||
| + | ^ RuntimeMaxFileSize | ||
| + | ^ RuntimeMaxFiles | ||
| + | ^ Rotation | ||
| + | ^ MaxFileSec | ||
| + | ^ MaxRetentionSec | ||
| + | |||
| + | This is an example on how to limit the disk space used and to determine rotaton policy (rotate once a day, keep 366 files i.e. one year): | ||
| + | |||
| + | < | ||
| + | [Journal] | ||
| + | SystemMaxUse=7G | ||
| + | SystemKeepFree=2G | ||
| + | SystemMaxFileSize=256M | ||
| + | SystemMaxFiles=366 | ||
| + | MaxFileSec=1day | ||
| </ | </ | ||
doc/appunti/linux/sa/debian_upgrade_12_13.1765287045.txt.gz · Last modified: by niccolo
