🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #302286

Re: What are these journals in var/log

#302286
From: Carlos E.R.
Date: Tue, 05 Feb 2019 22:34
65 lines
3789 bytes
On 05/02/2019 17.35, William Unruh wrote:
> On 2019-02-05, Carlos E.R. <robin_listas@es.invalid> wrote:
>> 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.
> 
> Longer period is debateable. My journal files go back to Aug 22. My
> syslog versions certainly do not. My syslog files go back about a month.
> My journal is about 2.1G, my /var/log(other than journal) is about
> 1.1G.(mind you the largest is /var/log cups most of which is about .8GB
> because of a lot of printer problems.) But then why do I need 8 months
> of logs in journald?

I was rather comparing how syslog was able to keep longer logs in less
space.


> Mind you that is not syslog since cups does its own error dumping which
> does not go through syslog.

So, your syslog data is about 0.3G



>> 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.
> 
> You are of course supposed to "search for something" using journalctl. 

I have not succeeded at that. Not always I know the field to search by
that journal understands.

> And hours is an exageration. Even on my system doing 
> journalctl
> which lists the full log takes about 3 min, not hours. Sounds like yours
> is swapping as it tries to load the file into memory.

No, it wasn't on my system. It was some years ago when we studied the
thing. Now I have tried to replicate and the results are much better.

On my system at the time I did not have long journal to test with.


-- 
Cheers, Carlos.
Technical Details
Message-ID: <ikfpif-pv8.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
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> <q3ce11$j8a$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <ikfpif-pv8.ln1@Telcontar.valinor>
Subject: Re: What are these journals in var/log
Date: Tue, 5 Feb 2019 23:34:26 +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> <0p9oif-8mj.ln1@Telcontar.valinor> <q3ce11$j8a$1@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: 65
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net IFLGBpPPQmLi5yCOS176sgEkvpbsSAKabg5cC3gY8h46o9DIcU
X-Orig-Path: Telcontar.valinor!not-for-mail
Cancel-Lock: sha1:Z9vehMdBqAEf2vZzqPp6CjrI51E=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
In-Reply-To: <q3ce11$j8a$1@dont-email.me>
Content-Language: en-CA