Originally posted by Vim_User
View Post
Announcement
Collapse
No announcement yet.
Fedora 20 Might No Longer Install Syslog
Collapse
X
-
Originally posted by Vim_User View PostYou missed the one pretty at the beginning of the thread: If journalctl for whatever reason is not available (for example inaccessible /usr-partition) you can still read the logs with an already running Bash if rsyslog is present, but you can't do anything without it being present. That doesn't sound like a legacy reason, this is a technical reason.
Now the question mostly is, should they keep both logs on disk by default for the sake of covering this use case ("I can't run journalctl but can run bash and fs is mounted and working and I don't want to shut down and I couldn't install rsyslog before").
Comment
-
Originally posted by bkor View PostThen be clear already or shut up.
/var/log/journal
[root@localhost journal]# du -h
502M ./fbb0c4896a9c0f680475c0a07edd2c5a
journal data file is sure BIG no wonder its so slow does it contain copies of my encrypted files for "backup" purposes ? or what?Last edited by Ramiliez; 16 July 2013, 06:15 PM.
Comment
-
-
-
Originally posted by Ramiliez View Postjournalctl
Monster sized log files especially binary ones are not good for VMs how do you fix journald to not abuse disk space and still retain some history?
Seriously people, some of the BEST linux documentation available comes from the Arch and Gentoo wikis. WE ARE YOUR TEST BED. I don't care if you are using Debian, Fedora, Ubuntu or whatever... if you have a question, check the Arch and Gentoo wikis. ONE OF THEM probably has an answer because a lot of other distros documentation is outdated or incomplete.
Now, Ramiliez, to answer your question.
From the arch wiki: https://wiki.archlinux.org/index.php/Systemd#Journal
Journal size limit
If the journal is persistent (non-volatile), its size limit is set to a default value of 10% of the size of the respective file system. For example, with /var/log/journal located on a 50 GiB root partition this would lead to 5 GiB of journal data. The maximum size of the persistent journal can be controlled by SystemMaxUse in /etc/systemd/journald.conf, so to limit it for example to 50 MiB uncomment and edit the corresponding line to:
Code:SystemMaxUse=50M
All opinions are my own not those of my employer if you know who they are.
Comment
-
Originally posted by Ericg View PostRamiliez, this isn't directly directed at you its a comment about something ive noticed in general....
Seriously people, some of the BEST linux documentation available comes from the Arch and Gentoo wikis. WE ARE YOUR TEST BED. I don't care if you are using Debian, Fedora, Ubuntu or whatever... if you have a question, check the Arch and Gentoo wikis. ONE OF THEM probably has an answer because a lot of other distros documentation is outdated or incomplete.
Now, Ramiliez, to answer your question.
From the arch wiki: https://wiki.archlinux.org/index.php/Systemd#Journal
...or, you know, the man pages? journald.conf isn't exactly like the gcc entry
Systemd related tools have phenomenal official documentation. I wish all projects were as them when it comes to docs.
Comment
Comment