summaryrefslogtreecommitdiffstats
path: root/TODO.org
diff options
context:
space:
mode:
authorGergely Nagy <algernon@balabit.hu>2012-03-20 08:42:01 +0100
committerGergely Nagy <algernon@balabit.hu>2012-03-20 08:48:18 +0100
commit1e062b1f74e499e39564da1485063e149c883df3 (patch)
tree5b75fd95cea3b07d119b321c87be1d2fd5639f66 /TODO.org
parent8e9513948811df9d384805192ee3d6ab58f4605c (diff)
downloadlibumberlog-1e062b1f74e499e39564da1485063e149c883df3.tar.gz
libumberlog-1e062b1f74e499e39564da1485063e149c883df3.tar.xz
libumberlog-1e062b1f74e499e39564da1485063e149c883df3.zip
TODO.org: New file.
Signed-off-by: Gergely Nagy <algernon@balabit.hu>
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org44
1 files changed, 44 insertions, 0 deletions
diff --git a/TODO.org b/TODO.org
new file mode 100644
index 0000000..628b5c1
--- /dev/null
+++ b/TODO.org
@@ -0,0 +1,44 @@
+# -*- org -*-
+#+STARTUP: indent showall lognotedone
+#+TODO: TODO(t) WIP(p) MAYBE(m) | CANCELED(c) DONE(d)
+#+OPTIONS: tasks:todo
+
+* TODO Features
+** TODO More autodiscovery
+*** TODO UID/GID discovery
+Cached by default, should be able to turn of caching with the global
+LOG_CEE_NOCACHE flag, and also with LOG_CEE_NOCACHE_UID flag.
+*** TODO Thread-id discovery
+Not cached by default, but can be turned on with LOG_CEE_CACHE_TID.
+*** 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
+Do we want it, at all? If so, cache gethostname() and be happy, or is
+there any other, better way?
+
+* TODO Documentation
+** TODO Manual pages
+We need manual pages for all the functions, one for each. We also need
+a way to document what the overridden syslog() calls do, without
+writing a new syslog(3) man page.
+
+*** MAYBE Perhaps export cee_legacy_syslog(), and write a man page for that?
+
+* TODO Test suite
+The test suite cannot test the syslog calls themselves, as that would
+be way too hacky to do properly. So it will test cee_format() instead,
+which is used by the syslog calls anyway.
+
+** TODO Decide how to test the library
+I believe the best way to test would be to re-parse the JSON, extract
+the fields, and verify they're of the expected value and type.
+
+* TODO Examples
+While the test suite will provide some easier examples, it would be
+nice to have a bigger example program that show-cases all the function
+calls, with detailed documentation about the pitfalls, too.
+
+*** MAYBE Forked and threaded example?
+Ideally, this example would also fork and thread, just to be able to
+document how those things are affected.