| Summary: | Need to package /etc/logrotate.d/iwhd | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Pete Zaitcev <zaitcev> | ||||
| Component: | iwhd | Assignee: | Pete Zaitcev <zaitcev> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dave Johnson <dajohnso> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 1.0.0 | CC: | brad, dajohnso, deltacloud-maint, imcleod, markmc, morazi, ssachdev, whayutin | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-12-19 19:37:24 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 698373 | ||||||
| Attachments: |
|
||||||
|
Description
Pete Zaitcev
2011-05-16 16:01:09 UTC
We need to switch to syslog, because it's impossible to rotate a raw dump of stderr. Also, see bz#698373 for other logging improvements. Switching to syslog turned out harder than it looked, because there are libraries to consider. For now we are just going to stick to writing to a file, just open it explicitly for the kill -HUP to work. Created attachment 511839 [details]
candidate patch 1
Nice patch Pete. How about a combination of your patch and this little logging API: https://github.com/markmc/iwhd/commit/44c26d5800 That way we at least get timestamps (for #698373) from the error() and DPRINTF() calls making sure all the bugs are at the right version for future queries Verified: [root@qeblade33 ~]# rpm -ql iwhd | grep logrotate /etc/logrotate.d/iwhd [root@qeblade33 ~]# rpm -q iwhd iwhd-0.991-1.el6.x86_64 |