X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=gps303%2Fevstore.py;h=360ab359505c7a141cdf6a5857d7dbcc14c86b53;hb=da4a83724f675e9b46639742eb095dc5b17a357f;hp=1b1ae2dc398f29063ffcddf2716da7b2424de01c;hpb=d75412f9c32046da5659728e82adaa9607dd0b74;p=loctrkd.git diff --git a/gps303/evstore.py b/gps303/evstore.py index 1b1ae2d..360ab35 100644 --- a/gps303/evstore.py +++ b/gps303/evstore.py @@ -18,6 +18,7 @@ SCHEMA = """create table if not exists events ( def initdb(dbname): global DB + log.info("Using Sqlite3 database \"%s\"", dbname) DB = connect(dbname) DB.execute(SCHEMA) @@ -30,7 +31,6 @@ def stow(clntaddr, timestamp, imei, proto, payload): (str(clntaddr), timestamp, imei, proto, payload), ) ) - log.debug("inserting %s", parms) DB.execute( """insert or ignore into events (timestamp, imei, clntaddr, proto, payload)