--- l2_test.c 2001/11/08 21:58:00 1.46
+++ l2_test.c 2001/11/16 19:40:55 1.47
@@ -80,12 +80,15 @@
die(env, rv, "failed to configure formatter for %%x");
if ((rv = l2_env_formatter(env, 'S', l2_util_fmt_dump, NULL)) != L2_OK)
die(env, rv, "failed to configure formatter for %%S");
+ if ((rv = l2_env_settimer(env, 20)) != L2_OK)
+ die(env, rv, "failed to configure timer");
#if 1
spec = "noop -> {"
" filter(regex=hecking, negate=0)"
" -> prefix(prefix=\"[%d-%m-%Y/%H:%M:%S] %L test[%P]: \", timezone=local)"
" -> buffer(size=800)"
+/* " -> buffer(size=800, timer=on)"*/
" -> file(path=l2_test.log, append=1, perm=420) ;"
" syslog(ident=L2-Test, facility=user, "
" remotehost=en1, logpid=1, target=remote)"
|