diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-05 07:56:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-05 07:56:57 +0100 |
commit | b3c8528b5087289c9b1f357f98f890190a5621a0 (patch) | |
tree | ad0cefb7902ab3de9b2d2fb72be2bcbb8ddadcbf /template.c | |
parent | 5402ba982fd8c9bb9ce7fab43ddabaa174ab0794 (diff) | |
download | rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.tar.gz rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.tar.bz2 rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.zip |
added new property replacer option "date-rfc3164-buggyday"
primarily to ease migration from syslog-ng. See property replacer doc
for details.
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -487,6 +487,8 @@ static void doOptions(unsigned char **pp, struct templateEntry *pTpe) pTpe->data.field.eDateFormat = tplFmtPgSQLDate; } else if(!strcmp((char*)Buf, "date-rfc3164")) { pTpe->data.field.eDateFormat = tplFmtRFC3164Date; + } else if(!strcmp((char*)Buf, "date-rfc3164-buggyday")) { + pTpe->data.field.eDateFormat = tplFmtRFC3164BuggyDate; } else if(!strcmp((char*)Buf, "date-rfc3339")) { pTpe->data.field.eDateFormat = tplFmtRFC3339Date; } else if(!strcmp((char*)Buf, "date-subseconds")) { |