diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-06 04:20:37 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-10-11 22:28:08 +0200 |
commit | cd83b8a44c2824cfc9dfdca685fea28f9221f60e (patch) | |
tree | e833c6180f0e8a16fc162eff82db28e9da052a9a /src/hlr.c | |
parent | d3cd102505bdc78c92daed325ee824071fa48403 (diff) |
cosmetic: don't log about missing SQLite log cb
SQLite3 seems to be commonly compiled without log callback support. It is then
misleading to see a seeming error message about this on each osmo-hlr startup.
Avoid the impression that we would miss out on important logging: query
sqlit3_compileoption_get() whether SQLITE_CONFIG_SQLLOG is enabled. Try to
register the callback only if present, if not, say so on DEBUG log.
See https://sqlite.org/compile.html "SQLITE_ENABLE_SQLLOG"
Change-Id: I78d75dc351eb587b0a022f82f147e9a31c0324c5
Diffstat (limited to 'src/hlr.c')
0 files changed, 0 insertions, 0 deletions