//# 2 errors, 365 messages
//#
/*
    //#combinedlogformatlogger.java:1:1: class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#combinedlogformatlogger.java:1:1: method: net.sourceforge.pebble.logging.CombinedLogFormatLogger.net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init
 * Copyright (c) 2003-2006, Simon Brown
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *   - Redistributions of source code must retain the above copyright
 *     notice, this list of conditions and the following disclaimer.
 *
 *   - Redistributions in binary form must reproduce the above copyright
 *     notice, this list of conditions and the following disclaimer in
 *     the documentation and/or other materials provided with the
 *     distribution.
 *
 *   - Neither the name of Pebble nor the names of its contributors may
 *     be used to endorse or promote products derived from this software
 *     without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 * POSSIBILITY OF SUCH DAMAGE.
 */
package net.sourceforge.pebble.logging;

import net.sourceforge.pebble.domain.Blog;
import net.sourceforge.pebble.Constants;

import javax.servlet.http.HttpServletRequest;
import java.io.*;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Calendar;
import java.util.Iterator;
import java.util.List;

/**
 * Supports the <a href="http://httpd.apache.org/docs/logs.html#combined">Combined Log Format</a>.
 *
 * @author    Simon Brown
 */
public class CombinedLogFormatLogger extends AbstractLogger {

  private static final String REFERER_HEADER = "Referer";
  private static final String USER_AGENT_HEADER = "User-Agent";
  private static final int FLUSH_SIZE = 0;

  /** the format of the log filenames */
  private SimpleDateFormat filenameFormat = new SimpleDateFormat("'blog-'yyyyMMdd'.log'");

  private List entries = new ArrayList();

  public CombinedLogFormatLogger(Blog blog) {
    super(blog);
    //#combinedlogformatlogger.java:62: method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)
    //#input(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): blog
    //#input(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this
    //#output(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): new ArrayList(CombinedLogFormatLogger#2) num objects
    //#output(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): new SimpleDateFormat(CombinedLogFormatLogger#1) num objects
    //#output(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this.blog
    //#output(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this.entries
    //#output(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this.filenameFormat
    //#new obj(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): new ArrayList(CombinedLogFormatLogger#2)
    //#new obj(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): new SimpleDateFormat(CombinedLogFormatLogger#1)
    //#pre[1] (void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): blog != null
    //#post(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this.blog == blog
    //#post(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this.blog != null
    //#post(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this.entries == &new ArrayList(CombinedLogFormatLogger#2)
    //#post(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): this.filenameFormat == &new SimpleDateFormat(CombinedLogFormatLogger#1)
    //#post(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): new ArrayList(CombinedLogFormatLogger#2) num objects == 1
    //#post(void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)): new SimpleDateFormat(CombinedLogFormatLogger#1) num objects == 1
    filenameFormat.setTimeZone(blog.getTimeZone());
    //#combinedlogformatlogger.java:63: Warning: method not available
    //#    -- call on TimeZone net.sourceforge.pebble.domain.Blog:getTimeZone()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)
    //#    unanalyzed callee: TimeZone net.sourceforge.pebble.domain.Blog:getTimeZone()
  }
    //#combinedlogformatlogger.java:64: end of method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.net.sourceforge.pebble.logging.CombinedLogFormatLogger(Blog)

  /**
   * Logs a HTTP request.
   *
   * @param request   a HttpServletRequest
   */
  public synchronized void log(HttpServletRequest request, int status) {
    String externalUri = (String)request.getAttribute(Constants.EXTERNAL_URI);
    //#combinedlogformatlogger.java:72: method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.log(HttpServletRequest, int)
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Descendant_Table[net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat]
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Dispatch_Table.format(Lnet/sourceforge/pebble/logging/LogEntry;)Ljava/lang/String;
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[net/sourceforge/pebble/logging/LogEntry]
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[others]
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getAgent()Ljava/lang/String;
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getDate()Ljava/util/Date;
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getHost()Ljava/lang/String;
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getReferer()Ljava/lang/String;
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getRequest()Ljava/lang/String;
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getStatusCode()I
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setAgent(Ljava/lang/String;)V
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setDate(Ljava/util/Date;)V
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setHost(Ljava/lang/String;)V
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setReferer(Ljava/lang/String;)V
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setRequest(Ljava/lang/String;)V
    //#input(void log(HttpServletRequest, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setStatusCode(I)V
    //#input(void log(HttpServletRequest, int)): request
    //#input(void log(HttpServletRequest, int)): status
    //#input(void log(HttpServletRequest, int)): this
    //#input(void log(HttpServletRequest, int)): this.blog
    //#input(void log(HttpServletRequest, int)): this.entries
    //#input(void log(HttpServletRequest, int)): this.filenameFormat
    //#pre[1] (void log(HttpServletRequest, int)): request != null
    //#pre[4] (void log(HttpServletRequest, int)): this.blog != null
    //#pre[5] (void log(HttpServletRequest, int)): this.entries != null
    //#pre[6] (void log(HttpServletRequest, int)): (soft) this.filenameFormat != null
    //#presumption(void log(HttpServletRequest, int)): net.sourceforge.pebble.domain.Blog:getCalendar(...)@75 != null
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.text.SimpleDateFormat:format
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getLogsDirectory
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.File
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.text.SimpleDateFormat
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getTimeZone
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.text.SimpleDateFormat:setTimeZone
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.util.Date
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.BufferedWriter:flush
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.BufferedWriter:close
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.FileWriter
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.BufferedWriter
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.lang.StringBuffer
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.lang.StringBuffer:append
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.lang.StringBuffer:toString
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.BufferedWriter:write
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.BufferedWriter:newLine
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.util.List:clear
    //#unanalyzed(void log(HttpServletRequest, int)): Effects-of-calling:java.io.IOException:printStackTrace
    //#test_vector(void log(HttpServletRequest, int)): java.util.List:size(...)@86: {-2_147_483_648..-1}, {0..4_294_967_295}
    LogEntry entry = new LogEntry();
    entry.setHost(request.getRemoteAddr());
    entry.setDate(blog.getCalendar().getTime());
    //#combinedlogformatlogger.java:75: Warning: method not available
    //#    -- call on Calendar net.sourceforge.pebble.domain.Blog:getCalendar()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: void log(HttpServletRequest, int)
    //#    unanalyzed callee: Calendar net.sourceforge.pebble.domain.Blog:getCalendar()
    entry.setStatusCode(status);
    StringBuffer buf = new StringBuffer();
    buf.append(request.getMethod());
    buf.append(" ");
    buf.append(externalUri);
    entry.setRequest(buf.toString());
    entry.setReferer(request.getHeader(REFERER_HEADER));
    entry.setAgent(request.getHeader(USER_AGENT_HEADER));
    entries.add(entry);

    if (entries.size() >= FLUSH_SIZE) {
      flush();
    }
  }
    //#combinedlogformatlogger.java:89: end of method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.log(HttpServletRequest, int)

  private void flush() {
    try {
      write(entries);
    //#combinedlogformatlogger.java:93: method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.flush()
    //#input(void flush()): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Descendant_Table[net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat]
    //#input(void flush()): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Dispatch_Table.format(Lnet/sourceforge/pebble/logging/LogEntry;)Ljava/lang/String;
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[net/sourceforge/pebble/logging/LogEntry]
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[others]
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getAgent()Ljava/lang/String;
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getDate()Ljava/util/Date;
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getHost()Ljava/lang/String;
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getReferer()Ljava/lang/String;
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getRequest()Ljava/lang/String;
    //#input(void flush()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getStatusCode()I
    //#input(void flush()): this
    //#input(void flush()): this.blog
    //#input(void flush()): this.entries
    //#input(void flush()): this.filenameFormat
    //#pre[2] (void flush()): (soft) this.blog != null
    //#pre[3] (void flush()): (soft) this.entries != null
    //#pre[4] (void flush()): (soft) this.filenameFormat != null
    //#unanalyzed(void flush()): Effects-of-calling:java.text.SimpleDateFormat:format
    //#unanalyzed(void flush()): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getLogsDirectory
    //#unanalyzed(void flush()): Effects-of-calling:java.io.File
    //#unanalyzed(void flush()): Effects-of-calling:java.text.SimpleDateFormat
    //#unanalyzed(void flush()): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getTimeZone
    //#unanalyzed(void flush()): Effects-of-calling:java.text.SimpleDateFormat:setTimeZone
    //#unanalyzed(void flush()): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void flush()): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void flush()): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void flush()): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void flush()): Effects-of-calling:java.io.BufferedWriter:flush
    //#unanalyzed(void flush()): Effects-of-calling:java.io.BufferedWriter:close
    //#unanalyzed(void flush()): Effects-of-calling:java.io.FileWriter
    //#unanalyzed(void flush()): Effects-of-calling:java.io.BufferedWriter
    //#unanalyzed(void flush()): Effects-of-calling:java.lang.StringBuffer
    //#unanalyzed(void flush()): Effects-of-calling:java.lang.StringBuffer:append
    //#unanalyzed(void flush()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void flush()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void flush()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void flush()): Effects-of-calling:java.lang.StringBuffer:toString
    //#unanalyzed(void flush()): Effects-of-calling:java.io.BufferedWriter:write
    //#unanalyzed(void flush()): Effects-of-calling:java.io.BufferedWriter:newLine
      entries.clear();
    } catch (IOException ioe) {
      ioe.printStackTrace();
    }
  }
    //#combinedlogformatlogger.java:98: end of method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.flush()

  /**
   * Called to start this logger.
   */
  public void start() {
  }
    //#combinedlogformatlogger.java:104: method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.start()
    //#combinedlogformatlogger.java:104: end of method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.start()

  /**
   * Called to stop this logger.
   */
  public synchronized void stop() {
    flush();
    //#combinedlogformatlogger.java:110: method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.stop()
    //#input(void stop()): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Descendant_Table[net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat]
    //#input(void stop()): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Dispatch_Table.format(Lnet/sourceforge/pebble/logging/LogEntry;)Ljava/lang/String;
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[net/sourceforge/pebble/logging/LogEntry]
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[others]
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getAgent()Ljava/lang/String;
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getDate()Ljava/util/Date;
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getHost()Ljava/lang/String;
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getReferer()Ljava/lang/String;
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getRequest()Ljava/lang/String;
    //#input(void stop()): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getStatusCode()I
    //#input(void stop()): this
    //#input(void stop()): this.blog
    //#input(void stop()): this.entries
    //#input(void stop()): this.filenameFormat
    //#pre[2] (void stop()): (soft) this.blog != null
    //#pre[3] (void stop()): (soft) this.entries != null
    //#pre[4] (void stop()): (soft) this.filenameFormat != null
    //#unanalyzed(void stop()): Effects-of-calling:java.text.SimpleDateFormat:format
    //#unanalyzed(void stop()): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getLogsDirectory
    //#unanalyzed(void stop()): Effects-of-calling:java.io.File
    //#unanalyzed(void stop()): Effects-of-calling:java.text.SimpleDateFormat
    //#unanalyzed(void stop()): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getTimeZone
    //#unanalyzed(void stop()): Effects-of-calling:java.text.SimpleDateFormat:setTimeZone
    //#unanalyzed(void stop()): Effects-of-calling:java.util.List:iterator
    //#unanalyzed(void stop()): Effects-of-calling:java.util.Iterator:hasNext
    //#unanalyzed(void stop()): Effects-of-calling:java.util.Iterator:next
    //#unanalyzed(void stop()): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(void stop()): Effects-of-calling:java.io.BufferedWriter:flush
    //#unanalyzed(void stop()): Effects-of-calling:java.io.BufferedWriter:close
    //#unanalyzed(void stop()): Effects-of-calling:java.io.FileWriter
    //#unanalyzed(void stop()): Effects-of-calling:java.io.BufferedWriter
    //#unanalyzed(void stop()): Effects-of-calling:java.lang.StringBuffer
    //#unanalyzed(void stop()): Effects-of-calling:java.lang.StringBuffer:append
    //#unanalyzed(void stop()): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void stop()): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void stop()): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void stop()): Effects-of-calling:java.lang.StringBuffer:toString
    //#unanalyzed(void stop()): Effects-of-calling:java.io.BufferedWriter:write
    //#unanalyzed(void stop()): Effects-of-calling:java.io.BufferedWriter:newLine
    //#unanalyzed(void stop()): Effects-of-calling:java.util.List:clear
    //#unanalyzed(void stop()): Effects-of-calling:java.io.IOException:printStackTrace
  }
    //#combinedlogformatlogger.java:111: end of method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.stop()

  /**
   * Gets a copy of the log file for a given year, month and day.
   *
   * @param year    the year to get entries for
   * @param month   the month to get entries for
   * @param day     the day to get entries for
   * @return    a String containing the contents of the requested log file
   */
  public String getLogFile(int year, int month, int day) {
    StringBuffer buf = new StringBuffer();
    //#combinedlogformatlogger.java:122: method: String net.sourceforge.pebble.logging.CombinedLogFormatLogger.getLogFile(int, int, int)
    //#input(String getLogFile(int, int, int)): day
    //#input(String getLogFile(int, int, int)): month
    //#input(String getLogFile(int, int, int)): this
    //#input(String getLogFile(int, int, int)): this.blog
    //#input(String getLogFile(int, int, int)): this.filenameFormat
    //#input(String getLogFile(int, int, int)): year
    //#output(String getLogFile(int, int, int)): return_value
    //#pre[2] (String getLogFile(int, int, int)): (soft) month >= -2_147_483_647
    //#pre[4] (String getLogFile(int, int, int)): (soft) this.blog != null
    //#pre[5] (String getLogFile(int, int, int)): (soft) this.filenameFormat != null
    //#post(String getLogFile(int, int, int)): return_value != null
    //#unanalyzed(String getLogFile(int, int, int)): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getCalendar
    //#unanalyzed(String getLogFile(int, int, int)): Effects-of-calling:java.util.Calendar:set
    //#unanalyzed(String getLogFile(int, int, int)): Effects-of-calling:java.util.Calendar:getTime
    //#unanalyzed(String getLogFile(int, int, int)): Effects-of-calling:java.text.SimpleDateFormat:format
    //#test_vector(String getLogFile(int, int, int)): java.io.File:exists(...)@126: {0}, {1}
    try {
      // read the file a line at a time, creating a String as we go
      File file = new File(blog.getLogsDirectory(), getFilename(year, month, day));
    //#combinedlogformatlogger.java:125: Warning: method not available
    //#    -- call on String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: String getLogFile(int, int, int)
    //#    unanalyzed callee: String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
      if (file.exists()) {
        BufferedReader reader = new BufferedReader(new FileReader(file));
        String line = reader.readLine();
        while (line != null) {
          buf.append(line);
          buf.append(System.getProperty("line.separator"));
          line = reader.readLine();
        }
        reader.close();
      }
    } catch (Exception e) {
      e.printStackTrace();
    } finally {
      return buf.toString();
    //#combinedlogformatlogger.java:139: end of method: String net.sourceforge.pebble.logging.CombinedLogFormatLogger.getLogFile(int, int, int)
    }
  }

  /**
   * Gets the log for a given year, month and day.
   *
   * @param year    the year to get entries for
   * @param month   the month to get entries for
   * @param day     the day to get entries for
   * @return    a Log object
   */
  public Log getLog(int year, int month, int day) {
    List logEntries = new ArrayList();
    //#combinedlogformatlogger.java:152: method: Log net.sourceforge.pebble.logging.CombinedLogFormatLogger.getLog(int, int, int)
    //#input(Log getLog(int, int, int)): day
    //#input(Log getLog(int, int, int)): month
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Descendant_Table[net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat]
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Dispatch_Table.parse(Ljava/lang/String;)Lnet/sourceforge/pebble/logging/LogEntry;
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[net/sourceforge/pebble/logging/LogEntry]
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setAgent(Ljava/lang/String;)V
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setBytes(J)V
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setDate(Ljava/util/Date;)V
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setHost(Ljava/lang/String;)V
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setReferer(Ljava/lang/String;)V
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setRequest(Ljava/lang/String;)V
    //#input(Log getLog(int, int, int)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.setStatusCode(I)V
    //#input(Log getLog(int, int, int)): this
    //#input(Log getLog(int, int, int)): this.blog
    //#input(Log getLog(int, int, int)): this.filenameFormat
    //#input(Log getLog(int, int, int)): year
    //#output(Log getLog(int, int, int)): new ArrayList(Log#1) num objects
    //#output(Log getLog(int, int, int)): new ArrayList(getLog#1) num objects
    //#output(Log getLog(int, int, int)): new Log(getLog#6) num objects
    //#output(Log getLog(int, int, int)): return_value.__Tag
    //#output(Log getLog(int, int, int)): return_value.blog
    //#output(Log getLog(int, int, int)): return_value.logEntries
    //#output(Log getLog(int, int, int)): return_value
    //#new obj(Log getLog(int, int, int)): new ArrayList(Log#1)
    //#new obj(Log getLog(int, int, int)): new ArrayList(getLog#1)
    //#new obj(Log getLog(int, int, int)): new Log(getLog#6)
    //#pre[4] (Log getLog(int, int, int)): this.blog != null
    //#pre[2] (Log getLog(int, int, int)): (soft) month >= -2_147_483_647
    //#pre[5] (Log getLog(int, int, int)): (soft) this.filenameFormat != null
    //#post(Log getLog(int, int, int)): return_value == &new Log(getLog#6)
    //#post(Log getLog(int, int, int)): new ArrayList(Log#1) num objects == 0
    //#post(Log getLog(int, int, int)): new ArrayList(getLog#1) num objects == 1
    //#post(Log getLog(int, int, int)): new Log(getLog#6) num objects == 1
    //#post(Log getLog(int, int, int)): return_value.__Tag == net/sourceforge/pebble/logging/Log
    //#post(Log getLog(int, int, int)): return_value.blog == this.blog
    //#post(Log getLog(int, int, int)): return_value.blog != null
    //#post(Log getLog(int, int, int)): return_value.logEntries == &new ArrayList(getLog#1)
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getCalendar
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.util.Calendar:set
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.util.Calendar:getTime
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.text.SimpleDateFormat:format
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.text.SimpleDateFormat
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getTimeZone
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.text.SimpleDateFormat:setTimeZone
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.util.Date
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.lang.String:indexOf
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.lang.String:substring
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.lang.String:charAt
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.lang.String:length
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.lang.String:equals
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.text.SimpleDateFormat:parse
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.lang.Integer:parseInt
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.lang.Long:parseLong
    //#unanalyzed(Log getLog(int, int, int)): Effects-of-calling:java.util.ArrayList
    //#test_vector(Log getLog(int, int, int)): java.io.File:exists(...)@158: {0}, {1}
    CombinedFormatLogEntryFormat format = new CombinedFormatLogEntryFormat(blog);

    try {
      // read the file a line at a time, parsing into LogEntry objects
      File file = new File(blog.getLogsDirectory(), getFilename(year, month, day));
    //#combinedlogformatlogger.java:157: Warning: method not available
    //#    -- call on String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: Log getLog(int, int, int)
    //#    unanalyzed callee: String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
      if (file.exists()) {
        BufferedReader reader = new BufferedReader(new FileReader(file));
        String line = reader.readLine();
        while (line != null) {
          logEntries.add(format.parse(line));
    //#combinedlogformatlogger.java:162: Warning: unused assignment in callee
    //#    unused assignment to (new LogEntry(parse#1).date, new LogEntry(parse#1).request, new LogEntry(parse#1).statusCode, new LogEntry(parse#1).bytes, new LogEntry(parse#1).host, new LogEntry(parse#1).referer, new LogEntry(parse#1).agent) in parse
    //#    severity: LOW
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: Log getLog(int, int, int)
          line = reader.readLine();
        }
        reader.close();
      }
    } catch (Exception e) {
      e.printStackTrace();
    } finally {
      return new Log(blog, logEntries);
    //#combinedlogformatlogger.java:170: end of method: Log net.sourceforge.pebble.logging.CombinedLogFormatLogger.getLog(int, int, int)
    }
  }

  /**
   * Gets the log summary information for the given year, month and day.
   *
   * @param year  the year to get entries for
   * @param month the month to get entries for
   * @param day   the day to get entries for
   * @return a LogSummary object
   */
  public LogSummary getLogSummary(int year, int month, int day) {
    Calendar cal = blog.getCalendar();
    //#combinedlogformatlogger.java:183: method: LogSummary net.sourceforge.pebble.logging.CombinedLogFormatLogger.getLogSummary(int, int, int)
    //#combinedlogformatlogger.java:183: Warning: method not available
    //#    -- call on Calendar net.sourceforge.pebble.domain.Blog:getCalendar()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: LogSummary getLogSummary(int, int, int)
    //#    unanalyzed callee: Calendar net.sourceforge.pebble.domain.Blog:getCalendar()
    //#input(LogSummary getLogSummary(int, int, int)): day
    //#input(LogSummary getLogSummary(int, int, int)): month
    //#input(LogSummary getLogSummary(int, int, int)): this
    //#input(LogSummary getLogSummary(int, int, int)): this.blog
    //#input(LogSummary getLogSummary(int, int, int)): this.filenameFormat
    //#input(LogSummary getLogSummary(int, int, int)): year
    //#output(LogSummary getLogSummary(int, int, int)): new LogSummaryItem(getLogSummary#4) num objects
    //#output(LogSummary getLogSummary(int, int, int)): return_value.__Tag
    //#output(LogSummary getLogSummary(int, int, int)): return_value.blog
    //#output(LogSummary getLogSummary(int, int, int)): return_value.date
    //#output(LogSummary getLogSummary(int, int, int)): return_value.totalRequests
    //#output(LogSummary getLogSummary(int, int, int)): return_value
    //#new obj(LogSummary getLogSummary(int, int, int)): new LogSummaryItem(getLogSummary#4)
    //#pre[2] (LogSummary getLogSummary(int, int, int)): month >= -2_147_483_647
    //#pre[4] (LogSummary getLogSummary(int, int, int)): this.blog != null
    //#pre[5] (LogSummary getLogSummary(int, int, int)): (soft) this.filenameFormat != null
    //#presumption(LogSummary getLogSummary(int, int, int)): net.sourceforge.pebble.domain.Blog:getCalendar(...)@183 != null
    //#post(LogSummary getLogSummary(int, int, int)): return_value == &new LogSummaryItem(getLogSummary#4)
    //#post(LogSummary getLogSummary(int, int, int)): new LogSummaryItem(getLogSummary#4) num objects == 1
    //#post(LogSummary getLogSummary(int, int, int)): return_value.__Tag == net/sourceforge/pebble/logging/LogSummaryItem
    //#post(LogSummary getLogSummary(int, int, int)): return_value.blog == this.blog
    //#post(LogSummary getLogSummary(int, int, int)): return_value.blog != null
    //#post(LogSummary getLogSummary(int, int, int)): init'ed(return_value.date)
    //#post(LogSummary getLogSummary(int, int, int)): return_value.totalRequests >= 0
    //#unanalyzed(LogSummary getLogSummary(int, int, int)): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getCalendar
    //#unanalyzed(LogSummary getLogSummary(int, int, int)): Effects-of-calling:java.util.Calendar:set
    //#unanalyzed(LogSummary getLogSummary(int, int, int)): Effects-of-calling:java.util.Calendar:getTime
    //#unanalyzed(LogSummary getLogSummary(int, int, int)): Effects-of-calling:java.text.SimpleDateFormat:format
    //#unanalyzed(LogSummary getLogSummary(int, int, int)): Effects-of-calling:net.sourceforge.pebble.logging.LogSummary
    //#test_vector(LogSummary getLogSummary(int, int, int)): java.io.File:exists(...)@192: {0}, {1}
    cal.set(Calendar.YEAR, year);
    cal.set(Calendar.MONTH, month-1);
    cal.set(Calendar.DAY_OF_MONTH, day);
    int totalRequests = 0;

    try {
      // read the file a line at a time
      File file = new File(blog.getLogsDirectory(), getFilename(year, month, day));
    //#combinedlogformatlogger.java:191: Warning: method not available
    //#    -- call on String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: LogSummary getLogSummary(int, int, int)
    //#    unanalyzed callee: String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
      if (file.exists()) {
        BufferedReader reader = new BufferedReader(new FileReader(file));
        String line = reader.readLine();
        while (line != null) {
          totalRequests++;
    //#combinedlogformatlogger.java:196: ?overflow
    //#    totalRequests in -2_147_483_649..4_294_967_294
    //#    severity: LOW
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: LogSummary getLogSummary(int, int, int)
    //#    basic block: bb_4
    //#    assertion: totalRequests in -2_147_483_649..4_294_967_294
    //#    VN: totalRequests + 1
    //#    Expected: {-2_147_483_648..4_294_967_295, Invalid}
    //#    Bad: {4_294_967_296}
    //#    Attribs:  Int  Bad singleton  Bad > Exp
          line = reader.readLine();
        }
        reader.close();
      }
    } catch (Exception e) {
      e.printStackTrace();
    }

    return new LogSummaryItem(blog, cal.getTime(), totalRequests);
    //#combinedlogformatlogger.java:205: end of method: LogSummary net.sourceforge.pebble.logging.CombinedLogFormatLogger.getLogSummary(int, int, int)
  }

  /**
   * Determines the name of the log file.
   *
   * @param year    the year to get entries for
   * @param month   the month to get entries for
   * @param day     the day to get entries for
   * @return    the name of the log file for the given year, month and day
   */
  private String getFilename(int year, int month, int day) {
    Calendar cal = blog.getCalendar();
    //#combinedlogformatlogger.java:217: method: String net.sourceforge.pebble.logging.CombinedLogFormatLogger.getFilename(int, int, int)
    //#combinedlogformatlogger.java:217: Warning: method not available
    //#    -- call on Calendar net.sourceforge.pebble.domain.Blog:getCalendar()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: String getFilename(int, int, int)
    //#    unanalyzed callee: Calendar net.sourceforge.pebble.domain.Blog:getCalendar()
    //#input(String getFilename(int, int, int)): day
    //#input(String getFilename(int, int, int)): month
    //#input(String getFilename(int, int, int)): this
    //#input(String getFilename(int, int, int)): this.blog
    //#input(String getFilename(int, int, int)): this.filenameFormat
    //#input(String getFilename(int, int, int)): year
    //#output(String getFilename(int, int, int)): return_value
    //#pre[2] (String getFilename(int, int, int)): month >= -2_147_483_647
    //#pre[4] (String getFilename(int, int, int)): this.blog != null
    //#pre[5] (String getFilename(int, int, int)): this.filenameFormat != null
    //#presumption(String getFilename(int, int, int)): net.sourceforge.pebble.domain.Blog:getCalendar(...)@217 != null
    //#post(String getFilename(int, int, int)): init'ed(return_value)
    cal.set(Calendar.YEAR, year);
    cal.set(Calendar.MONTH, month-1);
    cal.set(Calendar.DAY_OF_MONTH, day);

    return filenameFormat.format(cal.getTime());
    //#combinedlogformatlogger.java:222: end of method: String net.sourceforge.pebble.logging.CombinedLogFormatLogger.getFilename(int, int, int)
  }

  /**
   * Writes the given list of entries to the log file, creating it if
   * necessary.
   *
   * @param entries   the list of entries to write
   */
  private void write(List entries) throws IOException {
    CombinedFormatLogEntryFormat format = new CombinedFormatLogEntryFormat(blog);
    //#combinedlogformatlogger.java:232: method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.write(List)
    //#input(void write(List)): entries
    //#input(void write(List)): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Descendant_Table[net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat]
    //#input(void write(List)): net/sourceforge/pebble/logging/CombinedFormatLogEntryFormat.__Dispatch_Table.format(Lnet/sourceforge/pebble/logging/LogEntry;)Ljava/lang/String;
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[net/sourceforge/pebble/logging/LogEntry]
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Descendant_Table[others]
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getAgent()Ljava/lang/String;
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getDate()Ljava/util/Date;
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getHost()Ljava/lang/String;
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getReferer()Ljava/lang/String;
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getRequest()Ljava/lang/String;
    //#input(void write(List)): net/sourceforge/pebble/logging/LogEntry.__Dispatch_Table.getStatusCode()I
    //#input(void write(List)): this
    //#input(void write(List)): this.blog
    //#input(void write(List)): this.filenameFormat
    //#pre[1] (void write(List)): entries != null
    //#pre[3] (void write(List)): this.blog != null
    //#pre[4] (void write(List)): (soft) this.filenameFormat != null
    //#presumption(void write(List)): java.text.SimpleDateFormat:format(...)@240 != null
    //#presumption(void write(List)): java.util.Iterator:next(...).__Tag@239 == net/sourceforge/pebble/logging/LogEntry
    //#presumption(void write(List)): java.util.Iterator:next(...)@239 != null
    //#unanalyzed(void write(List)): Effects-of-calling:java.text.SimpleDateFormat
    //#unanalyzed(void write(List)): Effects-of-calling:net.sourceforge.pebble.domain.Blog:getTimeZone
    //#unanalyzed(void write(List)): Effects-of-calling:java.text.SimpleDateFormat:setTimeZone
    //#unanalyzed(void write(List)): Effects-of-calling:java.lang.StringBuffer
    //#unanalyzed(void write(List)): Effects-of-calling:java.lang.StringBuffer:append
    //#unanalyzed(void write(List)): Effects-of-calling:java.text.SimpleDateFormat:format
    //#unanalyzed(void write(List)): Effects-of-calling:java.lang.StringBuilder
    //#unanalyzed(void write(List)): Effects-of-calling:java.lang.StringBuilder:append
    //#unanalyzed(void write(List)): Effects-of-calling:java.lang.StringBuilder:toString
    //#unanalyzed(void write(List)): Effects-of-calling:java.lang.StringBuffer:toString
    //#test_vector(void write(List)): java.lang.String:equals(...)@241: {1}, {0}
    //#test_vector(void write(List)): java.util.Iterator:hasNext(...)@238: {1}, {0}
    File file;
    BufferedWriter writer = null;
    String currentFilename = "";
    String filename;
    Iterator it = entries.iterator();
    while (it.hasNext()) {
      LogEntry entry = (LogEntry)it.next();
        filename = filenameFormat.format(entry.getDate());
        if (!filename.equals(currentFilename)) {
          // close the old file (if there is one)
          if (writer != null) {
            writer.flush();
            writer.close();
          }

          // and open a new file
          currentFilename = filename;
          file = new File(blog.getLogsDirectory(), currentFilename);
    //#combinedlogformatlogger.java:250: Warning: method not available
    //#    -- call on String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
    //#    severity: INFORMATIONAL
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: void write(List)
    //#    unanalyzed callee: String net.sourceforge.pebble.domain.Blog:getLogsDirectory()
          writer = new BufferedWriter(new FileWriter(file, true));
        }

      writer.write(format.format(entry));
    //#combinedlogformatlogger.java:254: ?null dereference
    //#    writer != null
    //#    severity: MEDIUM
    //#    class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
    //#    method: void write(List)
    //#    basic block: bb_6
    //#    assertion: writer != null
    //#    VN: writer
    //#    Expected: Inverse{null} or Invalid
    //#    Bad: Addr_Set{null}
    //#    Attribs:  Ptr  null in Bad
      writer.newLine();
    }

    if (writer != null) {
      writer.flush();
      writer.close();
    }
  }
    //#combinedlogformatlogger.java:262: end of method: void net.sourceforge.pebble.logging.CombinedLogFormatLogger.write(List)

}
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Descendant_Table[net/sourceforge/pebble/logging/CombinedLogFormatLogger]
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.flush()V
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getFilename(III)Ljava/lang/String;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLog()Lnet/sourceforge/pebble/logging/Log;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLog(II)Lnet/sourceforge/pebble/logging/Log;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLog(III)Lnet/sourceforge/pebble/logging/Log;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogFile()Ljava/lang/String;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogFile(II)Ljava/lang/String;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogFile(III)Ljava/lang/String;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary()Lnet/sourceforge/pebble/logging/LogSummary;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary(I)Lnet/sourceforge/pebble/logging/LogSummary;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary(II)Lnet/sourceforge/pebble/logging/LogSummary;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary(III)Lnet/sourceforge/pebble/logging/LogSummary;
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.log(Ljavax/servlet/http/HttpServletRequest;I)V
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.start()V
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.stop()V
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.write(Ljava/util/List;)V
    //#output(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): net/sourceforge/pebble/logging/AbstractLogger.__Descendant_Table[net/sourceforge/pebble/logging/CombinedLogFormatLogger]
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Descendant_Table[net/sourceforge/pebble/logging/CombinedLogFormatLogger] == &__Dispatch_Table
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): net/sourceforge/pebble/logging/AbstractLogger.__Descendant_Table[net/sourceforge/pebble/logging/CombinedLogFormatLogger] == &__Dispatch_Table
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.flush()V == &flush
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getFilename(III)Ljava/lang/String; == &getFilename
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLog()Lnet/sourceforge/pebble/logging/Log; == &net/sourceforge/pebble/logging/AbstractLogger.getLog
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLog(II)Lnet/sourceforge/pebble/logging/Log; == &net/sourceforge/pebble/logging/AbstractLogger.getLog
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLog(III)Lnet/sourceforge/pebble/logging/Log; == &getLog
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogFile()Ljava/lang/String; == &net/sourceforge/pebble/logging/AbstractLogger.getLogFile
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogFile(II)Ljava/lang/String; == &net/sourceforge/pebble/logging/AbstractLogger.getLogFile
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogFile(III)Ljava/lang/String; == &getLogFile
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary()Lnet/sourceforge/pebble/logging/LogSummary; == &net/sourceforge/pebble/logging/AbstractLogger.getLogSummary
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary(I)Lnet/sourceforge/pebble/logging/LogSummary; == &net/sourceforge/pebble/logging/AbstractLogger.getLogSummary
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary(II)Lnet/sourceforge/pebble/logging/LogSummary; == &net/sourceforge/pebble/logging/AbstractLogger.getLogSummary
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.getLogSummary(III)Lnet/sourceforge/pebble/logging/LogSummary; == &getLogSummary
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.log(Ljavax/servlet/http/HttpServletRequest;I)V == &log
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.start()V == &start
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.stop()V == &stop
    //#post(net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init): __Dispatch_Table.write(Ljava/util/List;)V == &write
    //#combinedlogformatlogger.java:: end of method: net.sourceforge.pebble.logging.CombinedLogFormatLogger.net.sourceforge.pebble.logging.CombinedLogFormatLogger__static_init
    //#combinedlogformatlogger.java:: end of class: net.sourceforge.pebble.logging.CombinedLogFormatLogger
