ossp-pkg/l2/TODO 1.57 -> 1.58
--- TODO 2002/07/29 11:45:18 1.57
+++ TODO 2003/01/06 11:41:51 1.58
@@ -1,5 +1,13 @@
-OSSP L2 TODO
-============
+ _ ___ ____ ____ ____ _ ____
+ |_|_ _ / _ \/ ___/ ___|| _ \ | |___ \
+ _|_||_| | | | \___ \___ \| |_) | | | __) |
+ |_||_|_| | |_| |___) |__) | __/ | |/ __/
+ |_|_|_| \___/|____/____/|_| |_|_____|
+
+ OSSP l2 -- Flexible Logging
+
+ TODO
+ ====
Structure of channels and documentation [thl]. It should be possible to
drag the documentation out of a channel's source code. Everything else
@@ -237,7 +245,7 @@
from the var-args stack, it fetches a "char *" plus a "size_t" and
this way allows one to log only a sub-string of a larger string
without the need for any temporary buffers, etc.
-
+
- l2_util_fmt_dump:
This can be used as "%{type}X" for dumping arbitrary octets. The
parameter "type" can be either "text" (the default if only "%X"
@@ -261,7 +269,7 @@
==================================
Config-File (OSSP):
logging {
- channel 0 null ALL;
+ channel 0 null ALL;
channel 1 prefix CUSTOM1 { prefix="%Y-%m-%d/%H:%M:%S" };
channel 2 buffer { size=8k };
@@ -283,11 +291,11 @@
log stat 1;
};
-Alternative:
+Alternative:
log access {
error: syslog;
- prefix -> {
- buffer(size=4k) ->
+ prefix -> {
+ buffer(size=4k) ->
file(path=/path/to/log, mode=0644);
panic: smtp(host=en1, rcpt=rse@engelschall.com);
}
|
|