Commit Graph

6 Commits

Author SHA1 Message Date
Trial97
65a9b4df9d Updated rsyslog files 2021-12-23 10:08:54 +01:00
Trial97
d6ad76ab75 Renamed logrotate config files 2020-05-26 17:46:36 +02:00
Bas Couwenberg
e4e41a3e5d Fix logrotate configuration.
logrotate refused to rotate the logfile due to permissions:
```
logrotate[6248]: error: skipping "/var/log/cgrates/CGRateS.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation
```
Ownership of the directory and logfile is root/adm:
```
total 192
drwxrwxr-x 2 root adm    4096 Jul 17 10:24 .
drwxr-xr-x 8 root root   4096 Jul 17 00:00 ..
-rw-r----- 1 root adm  182485 Jul 16 15:52 CGRateS.log
```
2019-07-18 02:55:53 -10:00
Anthony Somerset
2fca1f3476 logging folder in lower case for better consistency 2019-04-04 14:36:01 +02:00
Anthony Somerset
2dd7202f39 changing logging folder to avoid polluting raw /var/log dir 2019-04-04 14:36:01 +02:00
Anthony Somerset
0305bf40d2 basic Out of Box logging + logrotate config for deb based systems 2019-04-04 14:36:01 +02:00