Commit 4557c7a8 authored by Shawn Webb's avatar Shawn Webb
Browse files

Use the stdio logger and log queries

Signed-off-by: Shawn Webb's avatarShawn Webb <>
parent 40480ec2
......@@ -47,10 +47,10 @@ main(int argc, char *argv[])
logp = lattutil_log_init(NULL, -1);
lattutil_log_syslog_init(logp, LOG_PID | LOG_NDELAY,
sqlctx = lattutil_sqlite_ctx_new("/tmp/db.sqlite3", logp, 0);
sqlctx = lattutil_sqlite_ctx_new("/tmp/db.sqlite3", logp,
if (sqlctx == NULL) {
logp->ll_log_err(logp, -1, "Unable to create sqlite3 object");
return (1);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment