added fileappender and consoleappender