Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to parse apache log files if userid is present #125

Open
avsm opened this issue Dec 1, 2014 · 0 comments
Open

fails to parse apache log files if userid is present #125

avsm opened this issue Dec 1, 2014 · 0 comments

Comments

@avsm
Copy link
Contributor

avsm commented Dec 1, 2014

This log entry showed up:

<ip address masked> - kuniharu harayama [01/Dec/2014:16:44:31 +0000] "GET /pkg/jsonm/jsonm.0.9.1/ HTTP/1.1" 301 184 "-" "-"

This causes the backtrace:

[WARNING] Missing dependency postgres in package ocamldbi.0.9.11
++ Building the package infos: 2942 /2942
++ Building the new stats from { ~/var/log/ocamlpro/access.log, ~/var/log/access.log }.
Building entries:  99% (/home/opam/var/log/access.log)wrong date: h
opam2web: internal error, uncaught exception:
          Lexcombinedlog.Scanner_error
          Raised at file "apalog/lexcombinedlog.mll", line 42, characters 97-110
          Called from file "apalog/readcombinedlog.ml", line 58, characters 21-47
          Called from file "o2wStatistics.ml", line 300, characters 18-51
          Called from file "list.ml", line 73, characters 12-15
          Called from file "o2wStatistics.ml", line 310, characters 4-23
          Called from file "opam2web.ml", line 51, characters 19-69
          Called from file "src/cmdliner.ml", line 1131, characters 17-26
          Called from file "src/cmdliner.ml", line 1153, characters 8-50

Am editing the log file to remove the offending line for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant