From bada4b1c417e344038f0a5328e0b4591eed516da Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 16 Feb 2005 00:54:55 +0000 Subject: [PATCH] Make a debug message into a warning message, so it'll be logged more often (since it's useful), and make it print out the file that it failed to find, so that users can figure out what to do. svn path=/icecast/trunk/icecast/; revision=8934 --- src/xslt.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xslt.c b/src/xslt.c index 866a0004..19791794 100644 --- a/src/xslt.c +++ b/src/xslt.c @@ -105,7 +105,8 @@ static xsltStylesheetPtr xslt_get_stylesheet(const char *fn) { struct stat file; if(stat(fn, &file)) { - DEBUG1("Error checking for stylesheet file: %s", strerror(errno)); + WARN2("Error checking for stylesheet file \"%s\": %s", fn, + strerror(errno)); return NULL; }