[httpd] Decrease log level of stream complete messages

This commit is contained in:
ejurgensen 2017-11-10 23:18:07 +01:00
parent 473a29ef8a
commit 6d937469f5
3 changed files with 4 additions and 4 deletions

View File

@ -530,7 +530,7 @@ stream_chunk_xcode_cb(int fd, short event, void *arg)
if (xcoded <= 0)
{
if (xcoded == 0)
DPRINTF(E_LOG, L_HTTPD, "Done streaming transcoded file id %d\n", st->id);
DPRINTF(E_INFO, L_HTTPD, "Done streaming transcoded file id %d\n", st->id);
else
DPRINTF(E_LOG, L_HTTPD, "Transcoding error, file id %d\n", st->id);
@ -617,7 +617,7 @@ stream_chunk_raw_cb(int fd, short event, void *arg)
if (ret <= 0)
{
if (ret == 0)
DPRINTF(E_LOG, L_HTTPD, "Done streaming file id %d\n", st->id);
DPRINTF(E_INFO, L_HTTPD, "Done streaming file id %d\n", st->id);
else
DPRINTF(E_LOG, L_HTTPD, "Streaming error, file id %d\n", st->id);

View File

@ -2629,7 +2629,7 @@ dacp_request(struct evhttp_request *req, struct httpd_uri_parsed *uri_parsed)
/* Content-Type for all DACP replies; can be overriden as needed */
evhttp_add_header(headers, "Content-Type", "application/x-dmap-tagged");
CHECK_NULL(L_DAAP, hreq->reply = evbuffer_new());
CHECK_NULL(L_DACP, hreq->reply = evbuffer_new());
hreq->handler(hreq);

View File

@ -68,7 +68,7 @@ oauth_reply_spotify(struct httpd_request *hreq)
static int
oauth_reply_spotify(struct httpd_request *hreq)
{
DPRINTF(E_LOG, L_HTTPD, "This version of forked-daapd was built without support for Spotify\n");
DPRINTF(E_LOG, L_WEB, "This version of forked-daapd was built without support for Spotify\n");
httpd_send_error(hreq->req, HTTP_NOTFOUND, "This version of forked-daapd was built without support for Spotify");