[httpd] Lower log level if file is not found

This commit is contained in:
chme 2018-04-21 12:46:48 +02:00 committed by ejurgensen
parent f6074b38e6
commit ae3e0b6bf5

View File

@ -370,7 +370,7 @@ serve_file(struct evhttp_request *req, const char *uri)
ret = lstat(path, &sb);
if (ret < 0)
{
DPRINTF(E_LOG, L_HTTPD, "Could not lstat() %s: %s\n", path, strerror(errno));
DPRINTF(E_WARN, L_HTTPD, "Could not lstat() %s: %s\n", path, strerror(errno));
httpd_send_error(req, HTTP_NOTFOUND, "Not Found");