summaryrefslogtreecommitdiffstats
path: root/TODO.org
diff options
context:
space:
mode:
authorGergely Nagy <algernon@balabit.hu>2012-03-21 12:57:19 +0100
committerGergely Nagy <algernon@balabit.hu>2012-03-21 12:57:19 +0100
commitdcea6d50ba8cfd7985c5628a20ce19f0b9ce9993 (patch)
treea7c0f6e25114bb42fd6fdc92850c692ab4cbcd92 /TODO.org
parent70e16501eae0d5990df75d6a57f60cb827754d74 (diff)
downloadlibumberlog-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.org6
1 files changed, 5 insertions, 1 deletions
diff --git a/TODO.org b/TODO.org
index a39db5b..8af859a 100644
--- a/TODO.org
+++ b/TODO.org
@@ -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?