'Log File Viewer' keeping too many logs - how to configure?

8 risposte [Ultimo contenuto]
Sunny Day
Offline
Iscritto: 01/05/2023

Hi all,

I'm asking for someone else whose computer has slowed down with hundreds of files in 'Log File Viewer'.

I'm not sure how to help clear up the excessive number of logs, nor on how to configure it, so it doesn't save everything. My own 'Log File Viewer' doesn't have this problem, but I can't explain why the difference.

Hope my question makes sense, I am a bit at loss even on how to ask for help with this.

As usual, many thanks for any help.

grosbidepoilu
Offline
Iscritto: 10/08/2023
Sunny Day
Offline
Iscritto: 01/05/2023

Thank you for the link, grosbidepoilu!

I was hoping for a user friendly gui alternative, so I could also help non-tech users to help themselves.

I'm looking into it -- would the option of archiving, as well as restricting to 1GB, be a good way to go? I feel responsible, but am a non-tech user either.

grosbidepoilu
Offline
Iscritto: 10/08/2023

Debian Administrator said "I restrict journal logs to 200M as I've never found the need for journal logs past the previous boot."
SystemMaxUse=200M
https://forums.debian.net/viewtopic.php?p=809670#p809670

Sunny Day
Offline
Iscritto: 01/05/2023

Yes, I saw that and made me think.

Just in case, 1GB could be very helpful, as sometimes the previous couple of days can become important.

Very interesting to learn about it, thank you again for adding that link!

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Reading what is repeated in the log is a good idea. It may be be a problem worth solving (not only to have the logs take less space).

Sunny Day
Offline
Iscritto: 01/05/2023

Yes, I agree Magic Banana! Any suggestion to simplify the process (as in 1,2,3 :) would be greatly appreciated

Magic Banana

I am a member!

I am a translator!

Offline
Iscritto: 07/24/2010

Just skim the (recent) log and see if some lines are repeated over and over. It is probably the case. If you do not understand them, you can copy them in reply to this post.

Sunny Day
Offline
Iscritto: 01/05/2023

Oh, I see what you mean. I understand, but that is not the problem.

The problem is the amount of days, weeks, even months of logs that have added up to a point that it takes a looooooong while for Log File Viewer to load.

It's very unusual, at least in my experience. In my computer, Log File Viewer opens instantly, as it has few days of files being loaded.