diff --git a/accesslog.go b/accesslog.go deleted file mode 100644 index cd6b75e..0000000 --- a/accesslog.go +++ /dev/null @@ -1,163 +0,0 @@ -package main - -import ( - "bufio" - "compress/gzip" - "github.com/mileusna/useragent" - "io" - "log" - "net/url" - "os" - "path/filepath" - "regexp" - "strconv" - "strings" - "time" -) - -// TODO add support to nginx config syntax, eg "$remote_addr - $remote_user [$time_local] ..." and add code to translate it to these regexes -// FIXME consolidate field list (duplicated knowledge) -const LOG_COMBINED_PATTERN = `(?P\S+) - (?P\S+) \[(?P