reduce number of logs

some were just left in there from debugging and could be removed or set to logging.debug
some others could be compacted
a few errors were written to stdout instead of stderr
This commit is contained in:
jomo
2015-02-20 01:22:37 +01:00
parent c0c2a63a8b
commit 4b920d57e8
6 changed files with 9 additions and 15 deletions

View File

@@ -118,7 +118,7 @@ module.exports = function(req, res) {
// we render the default skins, but not custom images
renders.draw_model(rid, buf, scale, helm, body, function(err, def_img) {
if (err) {
logging.log(rid + "error while rendering default image: " + err);
logging.error(rid + "error while rendering default image: " + err);
}
sendimage(rid, http_status, img_status, def_img);
});