#!/usr/bin/python # encoding: utf-8 import GeoIP import re import sys from collections import Counter from log_parsers import JavaLogParser sys.stderr.write("Loen standardsisendist...\n") errors = Counter() for timestamp, log_entry, stack_trace, byte_count, line_count, event_count in JavaLogParser(sys.stdin, errors_only=True): errors[stack_trace] += 1 from jinja2 import Template import codecs HTML_TEMPLATE = u"""
{{ stack_trace }}