Article View: alt.privacy.anon-server
Article #302277Re: What are these journals in var/log
From: Bit Twister
Date: Tue, 05 Feb 2019 13:06
Date: Tue, 05 Feb 2019 13:06
72 lines
3528 bytes
3528 bytes
On Tue, 5 Feb 2019 12:48:16 +0100, Carlos E.R. wrote: > I say it is inefficient because on the machines where I keep both > journal and syslog files, the later are much smaller, and keep a longer > period of time. > > I say it is inefficient because trying to dump the logs to text to > search for something takes hours on rotating rust. It is fast on SSD. Well size of journal has an impact on your process. Personally I have never dumped the log to text for searching. I just hit up arrow and add to previous grep of journalctl. > > It is also inefficient because you can not selectively keep out of the > logs the portions that are not of interest. For example, if you use > "leafnode" for news as I do, the amount of text spewed to the log is > humongous. I have very little experience with leafnode but hopefully there is a configuration option to reduce the logging level. I do plan to look in how I can reduce the noise from sensord. I want to tell it to quit logging INFO messages. > If you have to keep logs for some reason for two years the > journal for that time become untractable, and worse, impossible to > guarantee unbrokenness. That sounds a bit bogus to me. To meet your assertion the log file would have to be corrupted. > Finally, I don't know if it is possible to read journal stored on a > different computer, If you are not going to read the man page, go ahead and get a summary of what options are available. Click up a terminal and run journalctl --help > and if it is, what is required to ensure readability > of logs archived separately, say on DVD or tapes, over years. Yep, just another case of ignorance. Yes you can use journalctl to read any journalctl database file. > > As for advantages of binary format, well, traditional syslog can also be > stored on binary databases such as postgress or mysql. Yes, but you would just be reinventing what journalctl provides or have to create a tremendous amount of scripting to be able to parse the data into columns and whatnot to get the same features. > The advantage of journal is that, in theory, when a service stops > working or has a problem, the status call should say what pertains to > that service in the log. I have no idea where you got that information/theory. When I get a service failure, I do run systemctl status whatever.here and if problem is not obvious then I look in the journal for more information. They say it is a poor craftsman that blames his tools. For instance, I have a hourly cron job that runs journalctl with the last time I ran the check for failures and pops up any failures using xmessage.
Technical Details
Message-ID:
<slrnq5j2hr.hcg.BitTwister@wb.home.test>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<q38sor$vac$1@news.neodome.i2p> <q39det$qlk$1@news.mixmin.net> <33slif-n5n.ln1@Telcontar.valinor> <q39s84$uf9$4@dont-email.me> <0p9oif-8mj.ln1@Telcontar.valinor>Show Full Headers
Complete Article Headers
Message-ID: <slrnq5j2hr.hcg.BitTwister@wb.home.test> Subject: Re: What are these journals in var/log Date: Tue, 5 Feb 2019 07:06:00 -0600 From: Bit Twister <BitTwister@mouse-potato.com> References: <q38sor$vac$1@news.neodome.i2p> <q39det$qlk$1@news.mixmin.net> <33slif-n5n.ln1@Telcontar.valinor> <q39s84$uf9$4@dont-email.me> <0p9oif-8mj.ln1@Telcontar.valinor> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: alt.privacy.anon-server,alt.os.linux,comp.os.linux.misc Organization: A noiseless patient Spider Lines: 72 User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:FIPakafTv44nrSt+6VafQJqptgo=