#include "transaction.h"
#include "uuid.h"
#include "util.h"
-
-#define THIS_MODULE VLM_ovsdb_file
#include "vlog.h"
+VLOG_DEFINE_THIS_MODULE(ovsdb_file)
+
/* Minimum number of milliseconds between database compactions. */
#define COMPACT_MIN_MSEC (10 * 60 * 1000) /* 10 minutes. */
if (comment) {
json_object_put_string(json, "_comment", comment);
}
- json_object_put(json, "_date", json_integer_create(time_now()));
+ json_object_put(json, "_date", json_integer_create(time_wall()));
error = ovsdb_log_write(log, json);
json_destroy(json);