Can I delete these log.gz files?

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
TechnoDiver
Level 2
Level 2
Posts: 50
Joined: Tue Dec 15, 2020 11:35 am

Can I delete these log.gz files?

Post by TechnoDiver »

Hi, folks
I was trying to clean up my root partition and I see these .gz files in /var/log and they're taking up a huge amount of space. Can I safely delete them? (specifically the kern.log.2(3)(4).gz files)
log_files.png
Last edited by LockBot on Fri Feb 10, 2023 11:00 pm, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Pjotr
Level 24
Level 24
Posts: 20124
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: Can I delete these log.gz files?

Post by Pjotr »

Yes. See also:
https://easylinuxtipsproject.blogspot.c ... -mint.html

Notably the items 10, 11 and 12.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
TechnoDiver
Level 2
Level 2
Posts: 50
Joined: Tue Dec 15, 2020 11:35 am

Re: Can I delete these log.gz files?

Post by TechnoDiver »

Thanks, really helpful link
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Can I delete these log.gz files?

Post by trytip »

TechnoDiver wrote: Wed Aug 10, 2022 7:43 pm Thanks, really helpful link
you can delete every file in /var/log/ but leave folders alone. every log will return on the next boot or when an application for that log starts
Image
Locked

Return to “Software & Applications”