Article View: alt.privacy.anon-server
Article #302271Re: What are these journals in var/log
From: Carlos E.R.
Date: Tue, 05 Feb 2019 11:48
Date: Tue, 05 Feb 2019 11:48
53 lines
3472 bytes
3472 bytes
On 04/02/2019 18.20, William Unruh wrote: > On 2019-02-04, Carlos E.R. <robin_listas@es.invalid> wrote: What's the purpose of keeping alt.privacy.anon-server in the loop? >>> keeping a running track of everything you are doing on your system. What else would need to keep such a large amount of data. >> >> They are just logs done inefficiently. > > whether or not they are inefficient is debbatable. For some things they > definitely are. For others not. It basically replaces a text file > structure by and indexed database structure. I happen to like the text > file structure with grep better, but that is an inefficient way of > searching a database, if what you want is well defined. On the > otherhand, when I am trying to figure out what is going wrong with my > machine, I rarely know what I am looking for, and a database is very > inefficient when you do not know what you are looking for. 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. 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. 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. One might, on the other hand, need two years of mail log, but not the rest. Finally, I don't know if it is possible to read journal stored on a different computer, and if it is, what is required to ensure readability of logs archived separately, say on DVD or tapes, over years. As for advantages of binary format, well, traditional syslog can also be stored on binary databases such as postgress or mysql. 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 say in theory, because I had a problem recently with a service and the cause was not in the journal re the service. It was easily visible in syslog or a full text dump. -- Cheers, Carlos.
Technical Details
Message-ID:
<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-mailReferences:
<q38sor$vac$1@news.neodome.i2p> <q39det$qlk$1@news.mixmin.net> <33slif-n5n.ln1@Telcontar.valinor> <q39s84$uf9$4@dont-email.me>Show Full Headers
Complete Article Headers
Message-ID: <0p9oif-8mj.ln1@Telcontar.valinor> Subject: Re: What are these journals in var/log Date: Tue, 5 Feb 2019 12:48:16 +0100 From: "Carlos E.R." <robin_listas@es.invalid> References: <q38sor$vac$1@news.neodome.i2p> <q39det$qlk$1@news.mixmin.net> <33slif-n5n.ln1@Telcontar.valinor> <q39s84$uf9$4@dont-email.me> 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 Lines: 53 Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net 5siY7Ro0yPa9Dl74SFam0AmZsgiKTLE4iGTjoTCV69W0S/Dpnu X-Orig-Path: Telcontar.valinor!not-for-mail Cancel-Lock: sha1:5zDfFzKOlOZ2U/8eRIrxD686JOc= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 In-Reply-To: <q39s84$uf9$4@dont-email.me> Content-Language: en-CA