Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 204961 Details for
Bug 303341
rsyslogd logs messages from vixie-cron with incorrect timestamps
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch
rsyslog-1.19.6-repmsg.patch (text/plain), 1.13 KB, created by
Tomas Mraz
on 2007-09-25 08:22:22 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Tomas Mraz
Created:
2007-09-25 08:22:22 UTC
Size:
1.13 KB
patch
obsolete
>diff -up rsyslog-1.19.6/syslogd.c.repmsg rsyslog-1.19.6/syslogd.c >--- rsyslog-1.19.6/syslogd.c.repmsg 2007-09-11 17:35:08.000000000 +0200 >+++ rsyslog-1.19.6/syslogd.c 2007-09-25 10:01:58.000000000 +0200 >@@ -2466,11 +2466,15 @@ static rsRetVal callAction(msg_t *pMsg, > if ((pAction->f_ReduceRepeated == 1) && pAction->f_pMsg != NULL && > (pMsg->msgFlags & MARK) == 0 && getMSGLen(pMsg) == getMSGLen(pAction->f_pMsg) && > !strcmp(getMSG(pMsg), getMSG(pAction->f_pMsg)) && >- !strcmp(getHOSTNAME(pMsg), getHOSTNAME(pAction->f_pMsg))) { >+ !strcmp(getHOSTNAME(pMsg), getHOSTNAME(pAction->f_pMsg)) && >+ !strcmp(getPROCID(pMsg), getPROCID(pAction->f_pMsg)) && >+ !strcmp(getAPPNAME(pMsg), getAPPNAME(pAction->f_pMsg))) { > pAction->f_prevcount++; > dbgprintf("msg repeated %d times, %ld sec of %d.\n", > pAction->f_prevcount, now - pAction->f_time, > repeatinterval[pAction->f_repeatcount]); >+ MsgDestruct(pAction->f_pMsg); >+ pAction->f_pMsg = MsgAddRef(pMsg); > /* If domark would have logged this by now, flush it now (so we don't hold > * isolated messages), but back off so we'll flush less often in the future. > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 303341
: 204961