A program for managing and archiving individual log files. It allows automatic rotation, compression, removal, and mailing of log files. Jobs can be configured to run hourly, daily, weekly, monthly, yearly or when reaching a certain size or age.
89 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
What are the options to manage the size of /var/log/syslog of an embedded system
I have an embedded system (i.MX6) running a modified version of Ubuntu 18.04 LTS bionic stored on its SD card and I want to know how to manage /var/log/syslog file size. I noticed that systemd journal ... systemd log syslog logrotate embedded-system
Aminos
- 103
large number of strange samba log files not cleaned by logrotate
On my ubuntu 20.04.2 LTS I see a large number of log files with names like this: log.2003_df_272d_9b00_810b_3c34_b13a_800c log.2003_df_272d_9b00_30b7_2646_c9ca_36c9 These are obviously created by ... samba logrotate
user333869
- 251
Bash script for Logrotate can't start in crontab
i have a simple bash script for execute a logrotate command which is the follow command: sudo logrotate -f /etc/logrotate.d/logfile When i set the bash script into crontab the script didn't execute, ... command-line bash scripts cron logrotate
rikorey
- 1
Logrotate syslog and mysql error
OS version: 20.04 When trying to manually logrotate, there are errors rotating syslog and mysql. ~$ sudo logrotate -f /etc/logrotate.conf error: rsyslog:4 unknown unit 'e' error: found error in /var/... mysql syslog rsyslog logrotate
TurboSlayer
- 63
Ubuntu 20.04.3: nginx crashes with segfault
I have an Ubuntu box (20.04.3) on which nginx stopped already twice with a segfault: Nov 16 00:01:23 documents-oo kernel: [2726316.050697] nginx[2579242]: segfault at 41 ip 00007fbf59548593 sp ... crash nginx bug-reporting logrotate
Bernd Lentes
- 31
what is the default value in logrotate.conf
In /etc/logrotate.conf is user permission different between Ubuntu 20.04 and 18.04 releases? #use the syslog group by default, since this is the owning group #of /var/log/syslog. su root syslog or #... logrotate
User..
- 9
log rotation for /var/log
I got an alert that the root directory is running out of space. On inspection using ncdu i found that the /var/log folder was taking alot space. Then further inspection shows that syslog and kern.log ... server root disk-usage log logrotate
Andrew Mititi
- 113
The size of log files is still big after logrotate on ubuntu 20.04
logrotate was setup on Ubuntu 20.04 to limit the besu log file size to 10MB, keep 4 weeks log with rotating weekly and delete the old log file. Here is the besu conf: #for besu log /home/log/besu/* { ... 20.04 log logrotate
user938363
- 375
How do I get the latest logrotate, which isn't yet in the apt repositories?
I'm on 20.04, which has logrotate 3.14.0. I need a later version which has important bugfixes. This page shows that 20.04 has version 3.14.0, and this page shows that 21.04 has version 3.18.0 (the one ... apt 20.04 upgrade logrotate
lonix
- 1,878
Mysql logrotation doesn't work
I'm having trouble making Mysql log rotation working. I don't know why this is so complicated , even though I followed documentation and internet advice, still cannot make it work. I have enabled all ... mysql cron logs logrotate
AlexP
- 43
Trouble getting logs to autorotate with logrotate
Ubuntu 20.04.2 LTS Gnome 3.36.8 $ logrotate --version logrotate 3.14.0 It's been impossible to get logs to rotate automatically once they reach a size of 125M. Here's the config file saved to /etc/... logrotate
Maxximiliann
- 11
Setting a size limit for current syslog
Based on other threads, the only way to set a size limit on current syslog (/var/log/syslog) seems to be via rsyslog which is a bit tricky. I ended up replacing the line below in /etc/rsyslog.d/50-... rsyslog logrotate
Nerssi
- 11
Syslog start logging in the morning! why?
Hello I've a Ubuntu server 18.04 running. But the problem is syslog start logging at every morning not at 00:00 midnight! Jan 5 06:25:03 localhost snmpd[810]: truncating integer value > 32 bits ... 18.04 server syslog logrotate
Sakib Mahmud
- 3
Why My Logrotate Configurations Doesn't Work Correctly for MySQL-MariaDB?
I am using an MariaDB Galera 3-Cluster and I saw that the mysql logs on Node 2 grows up to 100gb and I decided to limited these logs that will not grow a lot. I used logrotate for that, so an file ... 18.04 mysql log mariadb logrotate
Nutabella
- 21
/var/log/syslog not getting rotated
I have a fresh install of ubuntu 20.04. I have set daily rotation in /etc/logrotate.d/rsyslog file with a maxsize of 1M but the /var/log/syslog and kern.log file keeps increasing. Here is the rsyslog ... log rsyslog logrotate
AjayC
- 348
153050per page