Permalink
Browse files

added: log what the last cid was when loading.

  • Loading branch information...
1 parent 0708ac5 commit 22ad88b289c718888e56c8800d845fc6f0900eeb @firnsy committed Mar 23, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/output-plugins/spo_database.c
@@ -689,6 +689,8 @@ void DatabaseInitFinalize(int unused, void *arg)
sensor_cid,
event_cid);
}
+ else
+ LogMessage("Last event seen for sid %u was %u\n", data->shared->sid, sensor_cid);
/* ensure we use the largest cid possible and not just the MAX(cid) */
data->shared->cid = event_cid > sensor_cid ? event_cid : sensor_cid;

0 comments on commit 22ad88b

Please sign in to comment.