IN THE NEXT LINE, REPLACE THE "#" WITH "?" AND YOU WILL GET THE CORRECT FIRST LINE OF THE FILE (THIS WAS PUT IN TO PREVENT IE FROM BEING "INTELLIGENT" AND TRYING TO PROCESS THIS FILE) <#xml version="1.0"#> ${context-root}/WEB-INF/logs/core.log %7.7{priority} %{time} [%{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable} false ${context-root}/WEB-INF/logs/sitemap.log %7.7{priority} %{time} [%{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable} false ${context-root}/WEB-INF/logs/access.log %7.7{priority} %{time} [%{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable} false ${context-root}/WEB-INF/logs/error.log %7.7{priority} %{time} [%{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable} false