diff --git a/accesslog.go b/accesslog.go index ec0ee9e..cd6b75e 100644 --- a/accesslog.go +++ b/accesslog.go @@ -15,10 +15,6 @@ import ( "time" ) -// defaulting to the default Debian location (and presumably other linuxes) -// overridable with NGTOP_LOGS_PATH env var -const DEFAULT_PATH = "/var/log/nginx/access.log*" - // 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