ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0022021ClearOSapp-openldap - OpenLDAP Driverpublic2018-10-28 05:082020-04-30 09:10
ReporterNickH 
Assigned ToNickH 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version7.5.0 Updates 
Target Version7.6.0 UpdatesFixed in Version 
Summary0022021: loglevel is too high
DescriptionSometime, possibly back in September, the loglevel was changed in the deploy/upgrade script from 0 to 256, probably for the certificate bug hunting. This is now leading to massive logs (logrotate is getting confused as every other log is 0B - probably another bug due to the maxsize parameter) and rsyslog is often hitting rate limiting (negating the usefulness of the logs):

Oct 28 10:18:33 server journal: Suppressed 121 messages from /system.slice/slapd.service
Oct 28 10:19:04 server journal: Suppressed 165 messages from /system.slice/slapd.service
Oct 28 10:27:08 server journal: Suppressed 83 messages from /system.slice/slapd.service
Oct 28 10:29:08 server journal: Suppressed 23 messages from /system.slice/slapd.service
Oct 28 10:30:09 server journal: Suppressed 37 messages from /system.slice/slapd.service
Oct 28 10:30:39 server journal: Suppressed 269 messages from /system.slice/slapd.service
Oct 28 10:31:10 server journal: Suppressed 291 messages from /system.slice/slapd.service
Oct 28 10:31:40 server journal: Suppressed 165 messages from /system.slice/slapd.service
Oct 28 10:32:13 server journal: Suppressed 180 messages from /system.slice/slapd.service
Oct 28 10:33:35 server journal: Suppressed 410 messages from /system.slice/slapd.service
Oct 28 10:34:05 server journal: Suppressed 343 messages from /system.slice/slapd.service
Oct 28 10:34:36 server journal: Suppressed 292 messages from /system.slice/slapd.service
Oct 28 10:36:38 server journal: Suppressed 215 messages from /system.slice/slapd.service
Oct 28 10:37:08 server journal: Suppressed 292 messages from /system.slice/slapd.service
Oct 28 10:41:09 server journal: Suppressed 500 messages from /system.slice/slapd.service

Please reduce it back to a sensible level?
TagsNo tags attached.
Attached Filestxt file icon openldap.txt [^] (185,215 bytes) 2018-11-11 10:12 [Show Content]

- Relationships
related to 0021181closeduser2 Improve LDAP logging 

-  Notes
(0008301)
user2
2018-10-28 12:26

256 is the recommended level. What message is getting suppressed?
(0008611)
NickH (developer)
2018-11-11 10:14
edited on: 2018-11-11 10:17

The attachment is an extract from the logs with 50 lines before each rate limiting incident and 100 lines after.

Note to get this I redirected the rate-limiting messages into the openldap log with an rsyslog filter.

The massages are sporadic and I did not get any for the preceding 3 days at all.


- Issue History
Date Modified Username Field Change
2018-10-28 05:08 NickH New Issue
2018-10-28 12:26 user2 Note Added: 0008301
2018-10-28 12:26 user2 Status new => feedback
2018-10-28 12:28 user2 Relationship added related to 0021181
2018-11-11 10:10 NickH File Added: openldap.txt
2018-11-11 10:12 NickH File Deleted: openldap.txt
2018-11-11 10:12 NickH File Added: openldap.txt
2018-11-11 10:14 NickH Note Added: 0008611
2018-11-11 10:14 NickH Status feedback => new
2018-11-11 10:17 NickH Note Edited: 0008611 View Revisions
2018-11-13 07:43 user2 Status new => acknowledged
2019-02-23 22:25 dloper Target Version => 7.6.0 Updates
2020-04-30 09:10 NickH Status acknowledged => closed
2020-04-30 09:10 NickH Assigned To => NickH
2020-04-30 09:10 NickH Resolution open => fixed