rajout fflush
This commit is contained in:
11
Readme.md
11
Readme.md
@@ -3,23 +3,18 @@
|
|||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|
||||||
vim /etc/systemd/journald.conf
|
mkdir /etc/systemd/journald.conf.d
|
||||||
|
vim /etc/systemd/journald.conf.d/my.conf
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
[Journal]
|
[Journal]
|
||||||
Storage=persistent
|
Storage=persistent
|
||||||
SystemMaxUse=512G
|
SystemMaxUse=512G
|
||||||
#Compress=yes
|
|
||||||
#Seal=yes
|
|
||||||
#SplitMode=uid
|
|
||||||
#SyncIntervalSec=5m
|
|
||||||
#RateLimitInterval=30s
|
|
||||||
#RateLimitBurst=1000
|
|
||||||
...
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
systemctl restart systemd-journald
|
systemctl restart systemd-journald
|
||||||
|
journalctl --flush
|
||||||
ls -l /var/log/journald
|
ls -l /var/log/journald
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user