We need log for months, but DirectAdmin automaticly remove log files and only maintance actual file lot and last 5 of access.log , login.log etc in /var/log/directadmin folder
[root@server directadmin]# ls access* -lah
-rw------- 1 root root 960K Mar 24 17:13 access.log
-rw------- 1 root root 2.1M Mar 20 03:51 access.log-20220320
-rw------- 1 root root 396K Mar 21 03:17 access.log-20220321
-rw------- 1 root root 2.4M Mar 22 03:40 access.log-20220322
-rw------- 1 root root 1.5M Mar 23 03:18 access.log-20220323
-rw------- 1 root root 832K Mar 24 03:09 access.log-20220324
Its possible keep these files for months (6 months for example) ? how to do this?
Thanks
Leo
[root@server directadmin]# ls access* -lah
-rw------- 1 root root 960K Mar 24 17:13 access.log
-rw------- 1 root root 2.1M Mar 20 03:51 access.log-20220320
-rw------- 1 root root 396K Mar 21 03:17 access.log-20220321
-rw------- 1 root root 2.4M Mar 22 03:40 access.log-20220322
-rw------- 1 root root 1.5M Mar 23 03:18 access.log-20220323
-rw------- 1 root root 832K Mar 24 03:09 access.log-20220324
Its possible keep these files for months (6 months for example) ? how to do this?
Thanks
Leo