protected void initLogger() {
final String logLevel = getInitParameter("log-level", "INFO");
final String accesslogger = getInitParameter("servlet-logger", "cocoon");
final Priority logPriority = Priority.getPriorityForName(logLevel);
final CocoonLogFormatter formatter = new CocoonLogFormatter();
formatter.setFormat( "%7.7{priority} %{time} [%8.8{category}] " +
"(%{uri}) %{thread}/%{class:short}: %{message}\\n%{throwable}" );
final ServletOutputLogTarget servTarget = new ServletOutputLogTarget(this.servletContext, formatter );