diff options
author | Gergely Nagy <algernon@balabit.hu> | 2012-03-21 12:57:19 +0100 |
---|---|---|
committer | Gergely Nagy <algernon@balabit.hu> | 2012-03-21 12:57:19 +0100 |
commit | dcea6d50ba8cfd7985c5628a20ce19f0b9ce9993 (patch) | |
tree | a7c0f6e25114bb42fd6fdc92850c692ab4cbcd92 /TODO.org | |
parent | 70e16501eae0d5990df75d6a57f60cb827754d74 (diff) | |
download | libumberlog-dcea6d50ba8cfd7985c5628a20ce19f0b9ce9993.tar.gz libumberlog-dcea6d50ba8cfd7985c5628a20ce19f0b9ce9993.tar.xz libumberlog-dcea6d50ba8cfd7985c5628a20ce19f0b9ce9993.zip |
Include the hostname in the JSON payload.
Include the hostname (as returned by gethostname()) in the JSON
payload. Test case updated to verify this.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Diffstat (limited to 'TODO.org')
-rw-r--r-- | TODO.org | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -16,7 +16,11 @@ a wrapper, so this also needs some configure-time discovery. *** TODO Timestamp in the payload Not enabled by default, can be toggled on with LOG_CEE_TIMESTAMP. **** What precision do we want? -*** MAYBE Hostname in the payload +*** DONE Hostname in the payload +CLOSED: [2012-03-21 Wed 12:53] +- CLOSING NOTE [2012-03-21 Wed 12:53] \\ + Done, we use gethostname(), as that's the easiest that yields somewhat + useful results. Do we want it, at all? If so, cache gethostname() and be happy, or is there any other, better way? |