rework logging system
reimplement the old mu-log.[ch] into mu-logging.{cc,hh}
If available (and using an appropriately equipped glib), log to the
systemd journal
Only g_criticals have stderr output, all the other g_* go to the log
file / journal.
This commit is contained in:
@ -241,7 +241,7 @@ try_requery (MuQuery *self, const char* searchexpr, MuMsgFieldId sortfieldid,
|
||||
/* let's assume that infinite regression is
|
||||
* impossible */
|
||||
self->db().reopen();
|
||||
MU_WRITE_LOG ("reopening db after modification");
|
||||
g_message ("reopening db after modification");
|
||||
return mu_query_run (self, searchexpr, sortfieldid,
|
||||
maxnum, flags, err);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user