Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tidy up

  • Loading branch information...
commit 6c1110f24227c6492a90a7de21bf66e2959076d0 1 parent 752b8ba
Geoff Cant archaelus authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 src/lsp_syslog_parser.erl
5 src/lsp_syslog_parser.erl
View
@@ -7,7 +7,7 @@
-export([new/0, push/2]).
--export([example1/0, parse/1]).
+-export([parse/1]).
-define(SYSLOG_MAX_SIZE, 10240). % 10Kb max in a single log message.
@@ -25,9 +25,6 @@
%% ZOMGWTFBBQ? Two framing formats and they get switched between
%% randomly? #killmaimdestroy
-example1() ->
- <<"1753626010 web.23 - - Started GET \"/default/payload\" for 69.179.15.165 at 2011-12-12 15:20:13 -0800\n218 <13>1 2011-12-12T23:20:13+00:00 runtime.60161@heroku.com t.fa298f04-b533-4a04-8b47-1e1753626010 web.9 - - cache: [GET /?a=gd&v=2&m=263100500876800&f=%2C21474836474ecc3d2c729cd7.34662728%2C1%2C3%2Cgrupo%2Cgrupov1] miss\n200 <158>1 2011-12-12T23:20:13+00:00 hermes-argon.60125@heroku.com t.12d76170-aa5c-4f25-8f3a-bf214f93d208 router - - POST p.pingme.net/v1/poll dyno=web.26 queue=0 wait=0ms service=61ms status=200 bytes=2\n202 <158>1 2011-12-12T23:20:13+00:00 hermes-argon.60125@heroku.com t.922a3f60-85bc-4d99-9d24-1a4c6caa7fb2 router - - GET d.lqw.me/delivery.js dyno=web.24 queue=0 wait=0ms service=83ms status=200 bytes=3187\n204 <158>1 2011-12-12T23:20:13+00:00 hermes-argon.60125@heroku.com t.1681f42f-75e0-484b-bdcd-4fd3b8487f92 router - - GET bid.tapengage.com/admeld dyno=web.13 queue=0 wait=0ms service=11ms status=200 bytes=53\n288 <13>1 2011-12-12T23:20:13+00:00 runtime.60159@heroku.com t.223ccc64-e9fb-4570-ba">>.
-
new() ->
#buf{}.
Please sign in to comment.
Something went wrong with that request. Please try again.