Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The journalctl command is a powerful tool used to query and view logs collected by systemd. To increase the size of log files size we , you can update the below settingsfollowing settings in the /etc/systemd/journald.conf file.

vi /etc/systemd/journald.conf
Storage=volatile
#Compress=yes
#Seal=yes
#SplitMode=uid
#SyncIntervalSec=5m
RateLimitIntervalSec=0
RateLimitBurst=0
SystemMaxUse=16M
#SystemKeepFree=
SystemMaxFileSize=4M
#SystemMaxFiles=100
RuntimeMaxUse=16M
#RuntimeKeepFree=
RuntimeMaxFileSize=4M
#RuntimeMaxFiles=100
#MaxRetentionSec=
#MaxFileSec=1month
ForwardToSyslog=yes
#ForwardToKMsg=no
#ForwardToConsole=no
#ForwardToWall=yes
#TTYPath=/dev/console
#MaxLevelStore=debug
#MaxLevelSyslog=debug
#MaxLevelKMsg=notice
#MaxLevelConsole=info
#MaxLevelWall=emerg
#LineMax=48K
#ReadKMsg=yes
#Audit=yes

NOTE:To get more debug info, compile the component with debug symbols enabled. 

...