SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5
Anonymous | Login | 2024-12-21 22:10 MST | |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0017941 | ClearOS | logrotate | public | 2017-11-21 14:21 | 2021-11-10 08:41 |
|
Reporter | NickH | |
Assigned To | NickH | |
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | suspended | |
Platform | | OS | | OS Version | |
Product Version | 7.4.0 | |
Target Version | | Fixed in Version | | |
|
Summary | 0017941: Stop rotating the boot.log if empty |
Description | Sometime in ClearOS7 a logrotate configlet, /etc/logrotate.d/bootlog, was introduced or changed so that it rotates weekly whatever happens. This means after about 9 rotations, if you have not rebooted, the boot log disappears and you are just left with 9 zero byte files. This is a useful diagnostic log and it would be better to keep at least the last log. If the key word "notifempty" were added to the configlet, then the logs would not rotate until there was something in /var/log/boot.log
In ClearOS6 the configlet does not even exist.
I've put this as a logrotate issue, but the configlet comes from "plymouth" for which there is not a category. |
Tags | No tags attached. |
|
Attached Files | |
|
Relationships |
|
Relationships |
Notes |
Issue History |
Date Modified |
Username |
Field |
Change |
2017-11-21 14:21 |
NickH |
New Issue |
|
2017-11-21 19:19 |
user2 |
Status |
new => confirmed |
2021-11-10 08:41 |
NickH |
Note Added: 0016161 |
|
2021-11-10 08:41 |
NickH |
Status |
confirmed => closed |
2021-11-10 08:41 |
NickH |
Assigned To |
=> NickH |
2021-11-10 08:41 |
NickH |
Resolution |
open => suspended |
Issue History |
SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7
Copyright © 2009- ClearCenter Ltd.