mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-25 22:55:56 -05:00
Tune logging
This commit is contained in:
parent
a2fdb8b107
commit
a0d776a6d7
@ -115,13 +115,18 @@ char *query_build_sql(char *query) {
|
||||
char *sqlptr=sql;
|
||||
int size=sizeof(sql);
|
||||
|
||||
DPRINTF(E_DBG,L_QRY,"Building query for %s\n",query);
|
||||
pquery=query_build(query);
|
||||
if(pquery) {
|
||||
if(!query_build_clause(pquery,&sqlptr,&size)) {
|
||||
query_free(pquery);
|
||||
DPRINTF(E_DBG,L_QRY,"Built query: %s\n",sql);
|
||||
return strdup(sql);
|
||||
}
|
||||
DPRINTF(E_DBG,L_QRY,"Error converting query to SQL\n");
|
||||
query_free(pquery);
|
||||
} else {
|
||||
DPRINTF(E_DBG,L_QRY,"Error building query\n");
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
@ -81,7 +81,7 @@ char *server_side_convert_path(char *path)
|
||||
int server_side_convert(char *fname) {
|
||||
char *ext;
|
||||
|
||||
DPRINTF(E_DBG,L_SCAN,"Checking for ssc: %s\n",fname);
|
||||
DPRINTF(E_SPAM,L_SCAN,"Checking for ssc: %s\n",fname);
|
||||
|
||||
if ((!config.ssc_extensions) ||
|
||||
(!config.ssc_extensions[0]) ||
|
||||
|
Loading…
Reference in New Issue
Block a user