diff --git a/TODO b/TODO index 265e825..9d6b4b6 100644 --- a/TODO +++ b/TODO @@ -2,25 +2,43 @@ * BDB/SBDB + Enthaelt noch einen fiesen Fehler. Kann aber auch an falscher Benutzung liegen. + -> TXN-Logging-Overflow + +* Sandbox (90%) + +* Persistenter Speicher + + BDB + +* Transactionsuche + + Sandbox + + Pers. Speicher + ++ Config + + BDB + + String in Object umwandeln + - Sandbox + + Objectcache + - Hash * LogAn + Ablauf (siehe Bild) (0%) - + Sandbox (80%) - + Einlesen (0%) - + Persistenter Speicher (80%) - + Configlogik (0%) - - BDB - - "Klassenbauen" - - Sandbox + + Sandbox + + Dequeue + - SBDB + + Pers. Speicher + + Config + + emit + - SBDB * File2LogAn + Server (50%) - select (100%) - + Speichern (0%) - - BDB + + emit (0%) + * SBDB + Sandbox - + Ablauf (50%) + + Config * push2mysql - + Einlesen - + insert (50%) + + Dequeue + - SBDB + + SQL-Insert diff --git a/bin/loganinc b/bin/loganinc index 3e330e0..764095c 100755 --- a/bin/loganinc +++ b/bin/loganinc @@ -43,10 +43,15 @@ end SBDB::Env.new 'conf' do |conf| SBDB::Env.new 'logs' do |logs| - SBDB::Env.new 'cache' do |cache| + SBDB::Env.new 'persist' do |persist| test = cache[ 'test'] while line = logs[ 'newids'].get( nil, "\0\0\0\0", nil, SBDB::CONSUME_WAIT) - + type, obj = line.unpack 'Na*' + case type + when 11 + sid, log = obj.unpack 'Na*' + parser = conf[ 'sids.cnf', 'parser'][sid] + end end end end