NXP-6077: don't log errors and stack traces on 404
NXP-6077: log 404 as simple debug message