1
rated 0 times
[
1]
[
0]
/ answers: 1 / hits: 573
/ 3 Years ago, sat, june 12, 2021, 4:36:06
In /var/log/apt
, I am seeing:
$ /var/log/apt $ ls -l
total 100
-rw-r--r-- 1 root root 3343 Feb 14 22:34 history.log
-rw-r--r-- 1 root root 2156 Jan 31 06:03 history.log.1.gz
-rw-r--r-- 1 root root 1288 Dec 31 11:14 history.log.2.gz
-rw-r--r-- 1 root root 3232 Nov 27 07:22 history.log.3.gz
-rw-r--r-- 1 root root 18813 Oct 31 07:11 history.log.4.gz
-rw-r----- 1 root adm 20475 Feb 14 22:34 term.log
-rw-r----- 1 root adm 4862 Jan 31 06:03 term.log.1.gz
-rw-r----- 1 root adm 3685 Dec 31 11:14 term.log.2.gz
-rw-r----- 1 root adm 9058 Nov 27 07:22 term.log.3.gz
-rw-r----- 1 root adm 12452 Oct 31 07:11 term.log.4.gz
It looks like history.log
is being archived once a month.
Because history.log
and its archives are important to me, I want to know:
- how many archives will be stored before the oldest is deleted?
- where is this information located?
- can I change the settings to increase the number of logs stored? (Going from the file sizes and my usage of
apt-get
, I am not concerned about disk space.)
Thank you.
More From » apt