diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-29 18:04:12 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-29 18:04:12 +0200 |
commit | b88ba949f8d657034f808034321fabbd65bf8078 (patch) | |
tree | 2cf7d0c34d4e9fa6db3625d0833382d74fe7b698 /template.h | |
parent | 3dccce084a65376b7555aec77c4cf1368cdd9cb7 (diff) | |
download | rsyslog-b88ba949f8d657034f808034321fabbd65bf8078.tar.gz rsyslog-b88ba949f8d657034f808034321fabbd65bf8078.tar.xz rsyslog-b88ba949f8d657034f808034321fabbd65bf8078.zip |
added "date-unixtimestamp" property replacer option to format as a unix timestamp
Diffstat (limited to 'template.h')
-rw-r--r-- | template.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -51,7 +51,7 @@ struct template { enum EntryTypes { UNDEFINED = 0, CONSTANT = 1, FIELD = 2 }; enum tplFormatTypes { tplFmtDefault = 0, tplFmtMySQLDate = 1, tplFmtRFC3164Date = 2, tplFmtRFC3339Date = 3, tplFmtPgSQLDate = 4, - tplFmtSecFrac = 5, tplFmtRFC3164BuggyDate = 6}; + tplFmtSecFrac = 5, tplFmtRFC3164BuggyDate = 6, tplFmtUnixDate}; enum tplFormatCaseConvTypes { tplCaseConvNo = 0, tplCaseConvUpper = 1, tplCaseConvLower = 2 }; #include "msg.h" |