OSSP CVS Repository

ossp - Check-in [1279]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 1279
Date: 2001-Nov-08 11:03:47 (local)
2001-Nov-08 10:03:47 (UTC)
User:rse
Branch:
Comment: fix old prefix problem, but find new one :-(
Tickets:
Inspections:
Files:
ossp-pkg/l2/TODO      1.40 -> 1.41     3 inserted, 1 deleted
ossp-pkg/l2/l2_test.c      1.44 -> 1.45     2 inserted, 2 deleted

ossp-pkg/l2/TODO 1.40 -> 1.41

--- TODO 2001/11/07 16:25:56     1.40
+++ TODO 2001/11/08 10:03:47     1.41
@@ -6,7 +6,9 @@
 - location tracking
 - target=remote has to be currently after host=xxx because of
   single-configuration procedure
-- prefix channels seems not to do anything?!
+
+- prefix channel produces implicitly two log messages if
+  a following buffer channel would not accumulate them. Hmmm..
 
 Channel-Only Revamping:
 - syscall override ala OSSP SA in l2_env_t


ossp-pkg/l2/l2_test.c 1.44 -> 1.45

--- l2_test.c    2001/11/07 16:17:09     1.44
+++ l2_test.c    2001/11/08 10:03:47     1.45
@@ -83,8 +83,8 @@
 
 #if 1
     spec = "noop -> {"
-           "  prefix(prefix=\"[%d-%m-%Y/%H:%M:%S] %L test[%P]: \", timezone=\"local\")"
-           "  -> filter(regex=\"hecking\", negate=\"0\")"
+           "  filter(regex=\"hecking\", negate=\"0\")"
+           "  -> prefix(prefix=\"[%d-%m-%Y/%H:%M:%S] %L test[%P]: \", timezone=\"local\")"
            "     -> buffer(size=\"800\")"
            "        -> file(path=\"l2_test.log\",append=\"1\",perm=\"420\") ;"
            "  syslog(ident=\"L2-Test\", facility=\"user\", "

CVSTrac 2.0.1