On 09/20/2016 05:24 AM, sdm wrote:
On 09/19/2016 02:12 PM, Carlos E. R. wrote:
On 2016-09-19 22:01, sdm wrote:
On 09/19/2016 12:54 PM, Chris Murphy wrote:
# Entries in this file show the compile time defaults.
So if you have an entry: #Storage=auto
That means it looks for /var/log/journal. If it exists already, then the journal will be stored persistently in that location. If it doesn't exist, it will be stored in /run/log/journal/ which is volatile.
Not on Leap 422. *If* /var/log/journal exists, those journal files are wiped with each reboot, and Leap 42.1 behaved the same exact way for me, although I don't rememember right now if /var/log/journal existed on my past Leap 42.1 box. I wouldn't be surprised if after installing Leap 42.1, and the /var/log/journal directory existed, the behaviour would be exactly the same as Leap 422.
If what you say is true, it is a bug you must report, because it is contrary to the documentation.
/var/log/journal/* are the persistent logs and are not deleted on boot.
/run/log/journal/* are the volatile logs, deleted on each boot. /run/ is a tmpfs.
But remember, the default for Leap 422 is that "auto" is commented out just like TW. You are right, if the /var/log/journal directory exists, then the systemd journal should write to that directory if "auto" is commented in. But as Richard said, in his journald.conf file everything is commented out, which is the same as my Leap 422 and TW boxes. I am checking Leap 42.1 when I can, later today, to once again verify that logs by default aren't persistent. The man page doesn't state what the behaviour should be if "auto" is commented out, which appears to be an OpenSUSE default across TW, Leap 422, and according to other posters, 421. Right now, it's appearing that on some systems, I believe Per's 2 Leap 42.1 boxes as well, when "auto" is commented out and the /var/log/journal/ directory exists, logs are not persistent. And that would make sense, wouldn't it?
You need to comment in "auto" if you want it to do what it's supposed to do.
Yes, that makes sense. What would be the point of having "auto" commented out from the beginning? It seems like the proper default setting should be for that one line to not be commented out. -- George Box: 42.1 | KDE Plasma 5 | AMD Phenom IIX4 | 64 | 32GB Laptop #1: 42.1 | Plasma 5.4.7, Qt 5.7.0 | Core i7-4710HQ | 64 | 16GB Laptop #2: 42.1 | KDE Plasma 5 | Core i5 | 64 | 8GB -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org