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 /runtime/msg.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 'runtime/msg.h')
-rw-r--r-- | runtime/msg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/msg.h b/runtime/msg.h index 4c209b8f..ed2e9d04 100644 --- a/runtime/msg.h +++ b/runtime/msg.h @@ -121,6 +121,8 @@ struct msg { char pszTimestamp3339[CONST_LEN_TIMESTAMP_3339 + 1]; char pszTIMESTAMP_SecFrac[7]; /* Note: a pointer is 64 bits/8 char, so this is actually fewer than a pointer! */ char pszRcvdAt_SecFrac[7]; /* same as above. Both are fractional seconds for their respective timestamp */ + char pszTIMESTAMP_Unix[12]; /* almost as small as a pointer! */ + char pszRcvdAt_Unix[12]; }; |