getLog().warn("news_write: " + e.getLocalizedMessage());
warn("news_write: " + e.getLocalizedMessage());
    public static String writeNewsFile(int position, String news)    {        String fileName = getNewsFilePath();        if (position == Constants.NEWS_TOP)        {            fileName += "news-top.html";        }        else        {            fileName += "news-side.html";        }        try        {            //write the news out to the appropriate file            FileOutputStream fos = new FileOutputStream(fileName);            OutputStreamWriter osr = new OutputStreamWriter(fos, "UTF-8");            //            BufferedWriter bw = new BufferedWriter( osr );            PrintWriter out = new PrintWriter(osr);            out.print(news);            out.close();        }        catch (IOException e)        {            getLog().warn("news_write: " + e.getLocalizedMessage());        }        return news;    }