chainsaw 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +57 -0
- data/Rakefile +8 -0
- data/bin/chainsaw +6 -0
- data/chainsaw.gemspec +22 -0
- data/lib/chainsaw.rb +15 -0
- data/lib/chainsaw/cli.rb +112 -0
- data/lib/chainsaw/detector.rb +91 -0
- data/lib/chainsaw/filter.rb +126 -0
- data/lib/chainsaw/format.rb +11 -0
- data/lib/chainsaw/version.rb +3 -0
- data/test/cli_test.rb +19 -0
- data/test/detector_test.rb +127 -0
- data/test/filter_test.rb +78 -0
- data/test/logs/apache_error.log +211 -0
- data/test/logs/clf.log +706 -0
- data/test/logs/django.log +14 -0
- data/test/logs/mongodb.log +722 -0
- data/test/logs/nginx_access.log +28 -0
- data/test/logs/nginx_error.log +1 -0
- data/test/logs/puppet.log +16 -0
- data/test/logs/python.log +10 -0
- data/test/logs/rack.log +4 -0
- data/test/logs/rails.log +249 -0
- data/test/logs/redis.log +4 -0
- data/test/logs/ruby_logger.log +30 -0
- data/test/logs/syslog.log +29 -0
- data/test/test_helper.rb +11 -0
- metadata +126 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
127.0.0.1 - - [08/Aug/2012:22:53:53 -0400] "GET / HTTP/1.1" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
2
|
+
127.0.0.1 - - [08/Aug/2012:22:53:53 -0400] "GET /favicon.ico HTTP/1.1" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
3
|
+
127.0.0.1 - - [08/Aug/2012:22:54:03 -0400] "-" 400 0 "-" "-"
|
4
|
+
127.0.0.1 - - [08/Aug/2012:23:36:44 -0400] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
5
|
+
127.0.0.1 - - [08/Aug/2012:23:36:44 -0400] "GET /favicon.ico HTTP/1.1" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
6
|
+
127.0.0.1 - - [08/Aug/2012:23:36:54 -0400] "-" 400 0 "-" "-"
|
7
|
+
127.0.0.1 - - [08/Aug/2012:23:40:19 -0400] "GET / HTTP/1.1" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
8
|
+
127.0.0.1 - - [08/Aug/2012:23:40:19 -0400] "GET /favicon.ico HTTP/1.1" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
9
|
+
127.0.0.1 - - [08/Aug/2012:23:40:34 -0400] "-" 400 0 "-" "-"
|
10
|
+
127.0.0.1 - - [08/Aug/2012:23:44:50 -0400] "GET / HTTP/1.1" 200 5 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3"
|
11
|
+
127.0.0.1 - - [08/Aug/2012:23:49:06 -0400] "GET / HTTP/1.1" 200 5 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3"
|
12
|
+
127.0.0.1 - - [08/Aug/2012:23:49:40 -0400] "GET / HTTP/1.0" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
13
|
+
127.0.0.1 - - [08/Aug/2012:23:49:40 -0400] "GET /favicon.ico HTTP/1.0" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
14
|
+
127.0.0.1 - - [08/Aug/2012:23:52:11 -0400] "GET / HTTP/1.1" 200 5 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3"
|
15
|
+
127.0.0.1 - - [08/Aug/2012:23:53:38 -0400] "GET / HTTP/1.1" 200 5 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3"
|
16
|
+
127.0.0.1 - - [08/Aug/2012:23:54:21 -0400] "GET / HTTP/1.0" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
17
|
+
127.0.0.1 - - [08/Aug/2012:23:54:22 -0400] "GET /favicon.ico HTTP/1.0" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
18
|
+
127.0.0.1 - - [08/Aug/2012:23:54:24 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
19
|
+
127.0.0.1 - - [09/Aug/2012:00:04:14 -0400] "GET / HTTP/1.0" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
20
|
+
127.0.0.1 - - [09/Aug/2012:00:04:14 -0400] "GET /favicon.ico HTTP/1.0" 200 5 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
21
|
+
127.0.0.1 - - [09/Aug/2012:00:04:21 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
22
|
+
127.0.0.1 - - [09/Aug/2012:00:04:22 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
23
|
+
127.0.0.1 - - [09/Aug/2012:00:04:22 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
24
|
+
127.0.0.1 - - [09/Aug/2012:00:04:22 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
25
|
+
127.0.0.1 - - [09/Aug/2012:00:04:23 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
26
|
+
127.0.0.1 - - [09/Aug/2012:00:06:15 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
27
|
+
127.0.0.1 - - [09/Aug/2012:00:06:17 -0400] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19"
|
28
|
+
173.247.26.224 - - [09/Aug/2012:12:51:36 -0400] "\xFE" 400 173 "-" "-"
|
@@ -0,0 +1 @@
|
|
1
|
+
2012/08/29 07:48:59 [error] 25395#0: *5910 no user/password was provided for basic authentication, client:
|
@@ -0,0 +1,16 @@
|
|
1
|
+
[2012-02-04 04:08:52] kiwi - - [04/Jul/2012:04:08:52 EDT] "GET /production/file_metadata/modules/base/git_completion.sh? HTTP/1.1" 200 310
|
2
|
+
[2012-02-06 04:08:52] - -> /production/file_metadata/modules/base/git_completion.sh?
|
3
|
+
[2012-07-04 04:08:52] kiwi - - [04/Jul/2012:04:08:52 EDT] "GET /production/file_metadata/modules/nodejs/node.sh? HTTP/1.1" 200 302
|
4
|
+
[2012-07-04 04:08:52] - -> /production/file_metadata/modules/nodejs/node.sh?
|
5
|
+
[2012-07-04 04:08:53] kiwi - - [04/Jul/2012:04:08:53 EDT] "GET /production/file_metadata/modules/ruby/ruby.sh? HTTP/1.1" 200 300
|
6
|
+
[2012-07-04 04:08:53] - -> /production/file_metadata/modules/ruby/ruby.sh?
|
7
|
+
[2012-07-04 04:08:54] kiwi - - [04/Jul/2012:04:08:54 EDT] "GET /production/file_metadata/modules/papertrail-logger/papertrail? HTTP/1.1" 200 316
|
8
|
+
[2012-07-04 04:08:54] - -> /production/file_metadata/modules/papertrail-logger/papertrail?
|
9
|
+
[2012-07-04 04:08:55] kiwi - - [04/Jul/2012:04:08:55 EDT] "GET /production/file_metadata/modules/base/aliases.sh? HTTP/1.1" 200 303
|
10
|
+
[2012-07-04 04:08:55] - -> /production/file_metadata/modules/base/aliases.sh?
|
11
|
+
[2012-07-04 04:08:55] kiwi - - [04/Jul/2012:04:08:55 EDT] "GET /production/file_metadata/modules/base/gemrc? HTTP/1.1" 200 298
|
12
|
+
[2012-07-04 04:08:55] - -> /production/file_metadata/modules/base/gemrc?
|
13
|
+
[2012-07-04 04:08:55] kiwi - - [04/Jul/2012:04:08:55 EDT] "GET /production/file_metadata/modules/base/irbrc? HTTP/1.1" 200 298
|
14
|
+
[2012-07-04 04:08:55] - -> /production/file_metadata/modules/base/irbrc?
|
15
|
+
[2012-07-04 04:08:56] kiwi - - [04/Jul/2012:04:08:56 EDT] "PUT /production/report/kiwi HTTP/1.1" 200 14
|
16
|
+
[2012-07-04 04:08:56] - -> /production/report/kiwi
|
@@ -0,0 +1,10 @@
|
|
1
|
+
2010-12-12 11:41:42,612 is when this event was logged.
|
2
|
+
2010-12-12 11:41:42,612 is when this event was logged.
|
3
|
+
2010-12-12 11:41:43,612 is when this event was logged.
|
4
|
+
2010-12-12 11:41:43,612 is when this event was logged.
|
5
|
+
2010-12-12 11:41:43,612 is when this event was logged.
|
6
|
+
2010-12-12 11:41:43,612 is when this event was logged.
|
7
|
+
2010-12-12 11:41:44,612 is when this event was logged.
|
8
|
+
2010-12-12 11:41:44,612 is when this event was logged.
|
9
|
+
2010-12-12 11:41:44,612 is when this event was logged.
|
10
|
+
2010-12-12 11:41:44,612 is when this event was logged.
|
data/test/logs/rack.log
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
127.0.0.1 - - [03/Sep/2012 22:51:16] "GET / HTTP/1.1" 404 434 0.0017
|
2
|
+
127.0.0.1 - - [03/Sep/2012 22:51:16] "GET /__sinatra__/404.png HTTP/1.1" 200 23305 0.0055
|
3
|
+
127.0.0.1 - - [03/Sep/2012 22:51:16] "GET /favicon.ico HTTP/1.1" 404 445 0.0007
|
4
|
+
127.0.0.1 - - [07/Sep/2012 25:51:16] "GET /favicon.ico HTTP/1.1" 404 445 0.0007
|
data/test/logs/rails.log
ADDED
@@ -0,0 +1,249 @@
|
|
1
|
+
Started GET "/signup" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
2
|
+
Processing by RegistrationsController#new as HTML
|
3
|
+
Rendered shared/_user_error_messages.html.erb (0.0ms)
|
4
|
+
MONGODB (0ms) example['plans'].find({})
|
5
|
+
Rendered registrations/new.html.erb within layouts/application (6.5ms)
|
6
|
+
Rendered layouts/_navigation.html.erb (0.7ms)
|
7
|
+
Rendered layouts/_footer.html.erb (0.0ms)
|
8
|
+
Completed 200 OK in 18ms (Views: 16.4ms)
|
9
|
+
|
10
|
+
|
11
|
+
Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
12
|
+
|
13
|
+
|
14
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
15
|
+
|
16
|
+
|
17
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
18
|
+
|
19
|
+
|
20
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
21
|
+
|
22
|
+
|
23
|
+
Started GET "/assets/account.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
24
|
+
|
25
|
+
|
26
|
+
Started GET "/assets/billing.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
27
|
+
|
28
|
+
|
29
|
+
Started GET "/assets/invitations.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
30
|
+
|
31
|
+
|
32
|
+
Started GET "/assets/pages.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
33
|
+
|
34
|
+
|
35
|
+
Started GET "/assets/people.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
36
|
+
|
37
|
+
|
38
|
+
Started GET "/assets/registrations.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
39
|
+
|
40
|
+
|
41
|
+
Started GET "/assets/sessions.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
42
|
+
|
43
|
+
|
44
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-01 09:34:35 -0400
|
45
|
+
|
46
|
+
|
47
|
+
Started GET "/signup" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
48
|
+
Processing by RegistrationsController#new as HTML
|
49
|
+
Rendered shared/_user_error_messages.html.erb (0.0ms)
|
50
|
+
MONGODB (0ms) example['plans'].find({})
|
51
|
+
Rendered registrations/new.html.erb within layouts/application (5.2ms)
|
52
|
+
Rendered layouts/_navigation.html.erb (0.6ms)
|
53
|
+
Rendered layouts/_footer.html.erb (0.0ms)
|
54
|
+
Completed 200 OK in 15ms (Views: 14.1ms)
|
55
|
+
|
56
|
+
|
57
|
+
Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
58
|
+
|
59
|
+
|
60
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
61
|
+
|
62
|
+
|
63
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
64
|
+
|
65
|
+
|
66
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
67
|
+
|
68
|
+
|
69
|
+
Started GET "/assets/account.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
70
|
+
|
71
|
+
|
72
|
+
Started GET "/assets/billing.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
73
|
+
|
74
|
+
|
75
|
+
Started GET "/assets/invitations.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
76
|
+
|
77
|
+
|
78
|
+
Started GET "/assets/pages.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
79
|
+
|
80
|
+
|
81
|
+
Started GET "/assets/people.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
82
|
+
|
83
|
+
|
84
|
+
Started GET "/assets/registrations.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
85
|
+
|
86
|
+
|
87
|
+
Started GET "/assets/sessions.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
88
|
+
|
89
|
+
|
90
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-01 10:39:35 -0400
|
91
|
+
|
92
|
+
|
93
|
+
Started GET "/signup" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
94
|
+
Processing by RegistrationsController#new as HTML
|
95
|
+
Rendered shared/_user_error_messages.html.erb (0.0ms)
|
96
|
+
MONGODB (0ms) example['plans'].find({})
|
97
|
+
Rendered registrations/new.html.erb within layouts/application (8.8ms)
|
98
|
+
Rendered layouts/_navigation.html.erb (0.6ms)
|
99
|
+
Rendered layouts/_footer.html.erb (0.0ms)
|
100
|
+
Completed 200 OK in 18ms (Views: 16.8ms)
|
101
|
+
|
102
|
+
|
103
|
+
Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
104
|
+
|
105
|
+
|
106
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
107
|
+
|
108
|
+
|
109
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
110
|
+
|
111
|
+
|
112
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
113
|
+
|
114
|
+
|
115
|
+
Started GET "/assets/account.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
116
|
+
|
117
|
+
|
118
|
+
Started GET "/assets/billing.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
119
|
+
|
120
|
+
|
121
|
+
Started GET "/assets/invitations.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
122
|
+
|
123
|
+
|
124
|
+
Started GET "/assets/pages.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
125
|
+
|
126
|
+
|
127
|
+
Started GET "/assets/people.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
128
|
+
|
129
|
+
|
130
|
+
Started GET "/assets/registrations.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
131
|
+
|
132
|
+
|
133
|
+
Started GET "/assets/sessions.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
134
|
+
|
135
|
+
|
136
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
137
|
+
|
138
|
+
|
139
|
+
Started GET "/signup" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
140
|
+
Processing by RegistrationsController#new as HTML
|
141
|
+
Rendered shared/_user_error_messages.html.erb (0.0ms)
|
142
|
+
MONGODB (0ms) example['plans'].find({})
|
143
|
+
Rendered registrations/new.html.erb within layouts/application (8.2ms)
|
144
|
+
Rendered layouts/_navigation.html.erb (1.0ms)
|
145
|
+
Rendered layouts/_footer.html.erb (0.0ms)
|
146
|
+
Completed 200 OK in 23ms (Views: 21.4ms)
|
147
|
+
|
148
|
+
|
149
|
+
Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
150
|
+
|
151
|
+
|
152
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
153
|
+
|
154
|
+
|
155
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
156
|
+
|
157
|
+
|
158
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
159
|
+
|
160
|
+
|
161
|
+
Started GET "/assets/account.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
162
|
+
|
163
|
+
|
164
|
+
Started GET "/assets/billing.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
165
|
+
|
166
|
+
|
167
|
+
Started GET "/assets/invitations.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
168
|
+
|
169
|
+
|
170
|
+
Started GET "/assets/pages.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
171
|
+
|
172
|
+
|
173
|
+
Started GET "/assets/people.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
174
|
+
|
175
|
+
|
176
|
+
Started GET "/assets/sessions.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
177
|
+
|
178
|
+
|
179
|
+
Started GET "/assets/registrations.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
180
|
+
|
181
|
+
|
182
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:36 -0400
|
183
|
+
|
184
|
+
|
185
|
+
Started GET "/signup" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
186
|
+
Processing by RegistrationsController#new as HTML
|
187
|
+
Rendered shared/_user_error_messages.html.erb (0.0ms)
|
188
|
+
MONGODB (0ms) example['plans'].find({})
|
189
|
+
Rendered registrations/new.html.erb within layouts/application (8.9ms)
|
190
|
+
Rendered layouts/_navigation.html.erb (0.7ms)
|
191
|
+
Rendered layouts/_footer.html.erb (0.0ms)
|
192
|
+
Completed 200 OK in 20ms (Views: 18.7ms)
|
193
|
+
|
194
|
+
|
195
|
+
Started GET "/assets/bootstrap.css?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
196
|
+
|
197
|
+
|
198
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
199
|
+
|
200
|
+
|
201
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
202
|
+
|
203
|
+
|
204
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
205
|
+
|
206
|
+
|
207
|
+
Started GET "/assets/billing.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
208
|
+
|
209
|
+
|
210
|
+
Started GET "/assets/account.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
211
|
+
|
212
|
+
|
213
|
+
Started GET "/assets/invitations.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
214
|
+
|
215
|
+
|
216
|
+
Started GET "/assets/people.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
217
|
+
|
218
|
+
|
219
|
+
Started GET "/assets/pages.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
220
|
+
|
221
|
+
|
222
|
+
Started GET "/assets/registrations.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
223
|
+
|
224
|
+
|
225
|
+
Started GET "/assets/sessions.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
226
|
+
|
227
|
+
|
228
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-09-01 11:39:37 -0400
|
229
|
+
|
230
|
+
|
231
|
+
Started GET "/plans" for 127.0.0.1 at 2012-09-01 11:39:46 -0400
|
232
|
+
Processing by PagesController#plans as HTML
|
233
|
+
Rendered pages/plans.html.erb (76.8ms)
|
234
|
+
Completed 500 Internal Server Error in 79ms
|
235
|
+
|
236
|
+
ActionView::Template::Error (undefined method `new_account_path' for #<#<Class:0x007f8d0c4194e8>:0x007f8d0c11c290>):
|
237
|
+
9: <li>blah blah</li>
|
238
|
+
10: <li>blah blah</li>
|
239
|
+
11: </ul>
|
240
|
+
12: <%= link_to 'Signup', new_account_path %>
|
241
|
+
13: </div>
|
242
|
+
14:
|
243
|
+
15: <div class='span3 offset1'>
|
244
|
+
app/views/pages/plans.html.erb:12:in `_app_views_pages_plans_html_erb___1166424239032441799_70121884801200'
|
245
|
+
|
246
|
+
|
247
|
+
Rendered /Users/user/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
|
248
|
+
Rendered /Users/user/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
|
249
|
+
Rendered /Users/user/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.9ms)
|
data/test/logs/redis.log
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
[24607] 12 Apr 18:43:33 * Server started, Redis version 2.4.2
|
2
|
+
[24607] 12 Apr 18:43:33 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
|
3
|
+
[24607] 17 Jun 18:43:33 * The server is now ready to accept connections on port 6379
|
4
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
W, [2012-09-01T11:21:26.491296 #81085] WARN -- : this happened
|
2
|
+
E, [2012-09-01T11:21:26.491418 #81085] ERROR -- : uh oh, something went wrong
|
3
|
+
W, [2012-09-01T11:21:26.491480 #81085] WARN -- : this happened
|
4
|
+
W, [2012-09-01T11:21:26.491543 #81085] WARN -- : this happened
|
5
|
+
E, [2012-09-01T11:21:26.491607 #81085] ERROR -- : uh oh, something went wrong
|
6
|
+
W, [2012-09-01T11:21:26.491670 #81085] WARN -- : this happened
|
7
|
+
W, [2012-09-01T11:21:26.491731 #81085] WARN -- : this happened
|
8
|
+
E, [2012-09-01T11:21:26.491792 #81085] ERROR -- : uh oh, something went wrong
|
9
|
+
E, [2012-09-01T11:21:26.491853 #81085] ERROR -- : uh oh, something went wrong
|
10
|
+
W, [2012-09-01T11:21:26.491913 #81085] WARN -- : this happened
|
11
|
+
W, [2012-09-01T11:21:26.491973 #81085] WARN -- : this happened
|
12
|
+
E, [2012-09-01T11:21:26.492033 #81085] ERROR -- : uh oh, something went wrong
|
13
|
+
W, [2012-09-01T11:21:26.492095 #81085] WARN -- : this happened
|
14
|
+
W, [2012-09-01T11:21:26.492156 #81085] WARN -- : this happened
|
15
|
+
W, [2012-09-01T11:21:26.492216 #81085] WARN -- : this happened
|
16
|
+
W, [2012-09-01T11:21:26.492277 #81085] WARN -- : this happened
|
17
|
+
E, [2012-09-01T11:21:26.492338 #81085] ERROR -- : uh oh, something went wrong
|
18
|
+
W, [2012-09-01T11:21:26.492400 #81085] WARN -- : this happened
|
19
|
+
W, [2012-09-01T11:21:26.492461 #81085] WARN -- : this happened
|
20
|
+
E, [2012-09-01T11:21:26.492522 #81085] ERROR -- : uh oh, something went wrong
|
21
|
+
E, [2012-09-01T11:21:26.492582 #81085] ERROR -- : uh oh, something went wrong
|
22
|
+
W, [2012-09-01T11:21:26.492643 #81085] WARN -- : this happened
|
23
|
+
W, [2012-09-01T11:21:26.492705 #81085] WARN -- : this happened
|
24
|
+
E, [2012-09-01T11:21:26.492766 #81085] ERROR -- : uh oh, something went wrong
|
25
|
+
E, [2012-09-01T11:21:26.492827 #81085] ERROR -- : uh oh, something went wrong
|
26
|
+
W, [2012-09-01T11:21:26.492888 #81085] WARN -- : this happened
|
27
|
+
E, [2012-09-01T11:21:26.492949 #81085] ERROR -- : uh oh, something went wrong
|
28
|
+
W, [2012-09-01T11:21:26.493009 #81085] WARN -- : this happened
|
29
|
+
E, [2012-09-01T11:21:26.493070 #81085] ERROR -- : uh oh, something went wrong
|
30
|
+
E, [2012-09-01T11:21:26.493131 #81085] ERROR -- : uh oh, something went wrong
|
@@ -0,0 +1,29 @@
|
|
1
|
+
Aug 1 17:36:55 muspelheim kernel: [519156.511540] UDF-fs: Partition marked readonly; forcing readonly mount
|
2
|
+
Aug 9 17:36:55 muspelheim kernel: [519156.527593] UDF-fs: INFO Mounting volume '', timestamp 2006/09/04 05:14 (1f10)
|
3
|
+
Aug 26 19:09:13 muspelheim kernel: [524694.010066] gnome-shell[1766] trap int3 ip:7f0aa38d6fdb sp:7ffff13ee210 error:0
|
4
|
+
Aug 27 15:16:25 muspelheim kernel: [597126.165437] EXT4-fs (sdb6): Unaligned AIO/DIO on inode 2490305 by VirtualBox; performance will be poor.
|
5
|
+
Aug 27 15:18:39 muspelheim kernel: [597260.513161] device eth1 entered promiscuous mode
|
6
|
+
Aug 27 15:19:07 muspelheim kernel: [597287.888586] device eth1 left promiscuous mode
|
7
|
+
Aug 27 15:19:08 muspelheim kernel: [597288.840206] vboxnetflt: dropped 0 out of 108 packets
|
8
|
+
Aug 27 15:19:08 muspelheim kernel: [597288.870127] vboxnetflt: dropped 0 out of 0 packets
|
9
|
+
Aug 27 15:19:18 muspelheim kernel: [597299.145176] device eth1 entered promiscuous mode
|
10
|
+
Aug 27 16:38:49 muspelheim kernel: [602070.406491] device eth1 left promiscuous mode
|
11
|
+
Aug 27 16:38:50 muspelheim kernel: [602070.903442] vboxnetflt: dropped 1017 out of 62608 packets
|
12
|
+
Aug 28 18:16:40 muspelheim kernel: [694341.478308] init: mongodb main process (1181) terminated with status 12
|
13
|
+
Aug 28 18:23:17 muspelheim kernel: [694738.296538] type=1400 audit(1346192597.536:26): apparmor="STATUS" operation="profile_replace" name="/usr/lib/telepathy/mission-control-5" pid=14487 comm="apparmor_parser"
|
14
|
+
Aug 28 18:23:17 muspelheim kernel: [694738.296801] type=1400 audit(1346192597.536:27): apparmor="STATUS" operation="profile_replace" name="/usr/lib/telepathy/telepathy-*" pid=14487 comm="apparmor_parser"
|
15
|
+
Aug 28 18:25:58 muspelheim kernel: [694899.747857] device eth1 entered promiscuous mode
|
16
|
+
Aug 28 18:27:17 muspelheim kernel: [694977.916831] EXT4-fs (sdb6): Unaligned AIO/DIO on inode 3276897 by VirtualBox; performance will be poor.
|
17
|
+
Aug 28 18:27:17 muspelheim kernel: [694977.928282] device eth1 left promiscuous mode
|
18
|
+
Aug 28 18:27:20 muspelheim kernel: [694981.044069] vboxnetflt: dropped 0 out of 1260 packets
|
19
|
+
Aug 28 18:27:40 muspelheim kernel: [695001.015865] device eth1 entered promiscuous mode
|
20
|
+
Aug 29 23:01:12 muspelheim kernel: [797813.489426] EXT4-fs (sdb6): Unaligned AIO/DIO on inode 3276897 by VirtualBox; performance will be poor.
|
21
|
+
Aug 29 23:01:12 muspelheim kernel: [797813.501063] device eth1 left promiscuous mode
|
22
|
+
Aug 29 23:01:14 muspelheim kernel: [797815.636073] vboxnetflt: dropped 0 out of 1658435 packets
|
23
|
+
Aug 30 12:12:24 muspelheim kernel: [845285.335141] r8169 0000:02:00.0: eth1: link down
|
24
|
+
Aug 30 12:12:26 muspelheim kernel: [845287.549804] r8169 0000:02:00.0: eth1: link up
|
25
|
+
Aug 30 12:26:45 muspelheim kernel: [846146.371234] r8169 0000:02:00.0: eth1: link down
|
26
|
+
Aug 30 12:26:50 muspelheim kernel: [846151.120878] ADDRCONF(NETDEV_UP): eth1: link is not ready
|
27
|
+
Aug 30 12:27:22 muspelheim kernel: [846183.129496] r8169 0000:02:00.0: eth1: link up
|
28
|
+
Aug 30 12:27:22 muspelheim kernel: [846183.130073] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
|
29
|
+
Aug 30 12:27:32 muspelheim kernel: [846193.560089] eth1: no IPv6 routers present
|
data/test/test_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chainsaw
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.4
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- ljfauscett
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-09-04 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: chronic
|
16
|
+
requirement: &70332473586400 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.7.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70332473586400
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: minitest
|
27
|
+
requirement: &70332473585680 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.0.0
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70332473585680
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: mocha
|
38
|
+
requirement: &70332473584980 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.11.4
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70332473584980
|
47
|
+
description: Cutting up logs like shelby stanga
|
48
|
+
email:
|
49
|
+
- ljfauscett@gmail.com
|
50
|
+
executables:
|
51
|
+
- chainsaw
|
52
|
+
extensions: []
|
53
|
+
extra_rdoc_files: []
|
54
|
+
files:
|
55
|
+
- .gitignore
|
56
|
+
- Gemfile
|
57
|
+
- LICENSE
|
58
|
+
- README.md
|
59
|
+
- Rakefile
|
60
|
+
- bin/chainsaw
|
61
|
+
- chainsaw.gemspec
|
62
|
+
- lib/chainsaw.rb
|
63
|
+
- lib/chainsaw/cli.rb
|
64
|
+
- lib/chainsaw/detector.rb
|
65
|
+
- lib/chainsaw/filter.rb
|
66
|
+
- lib/chainsaw/format.rb
|
67
|
+
- lib/chainsaw/version.rb
|
68
|
+
- test/cli_test.rb
|
69
|
+
- test/detector_test.rb
|
70
|
+
- test/filter_test.rb
|
71
|
+
- test/logs/apache_error.log
|
72
|
+
- test/logs/clf.log
|
73
|
+
- test/logs/django.log
|
74
|
+
- test/logs/mongodb.log
|
75
|
+
- test/logs/nginx_access.log
|
76
|
+
- test/logs/nginx_error.log
|
77
|
+
- test/logs/puppet.log
|
78
|
+
- test/logs/python.log
|
79
|
+
- test/logs/rack.log
|
80
|
+
- test/logs/rails.log
|
81
|
+
- test/logs/redis.log
|
82
|
+
- test/logs/ruby_logger.log
|
83
|
+
- test/logs/syslog.log
|
84
|
+
- test/test_helper.rb
|
85
|
+
homepage: ''
|
86
|
+
licenses: []
|
87
|
+
post_install_message:
|
88
|
+
rdoc_options: []
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ! '>='
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
requirements: []
|
104
|
+
rubyforge_project:
|
105
|
+
rubygems_version: 1.8.11
|
106
|
+
signing_key:
|
107
|
+
specification_version: 3
|
108
|
+
summary: wahhhhh
|
109
|
+
test_files:
|
110
|
+
- test/cli_test.rb
|
111
|
+
- test/detector_test.rb
|
112
|
+
- test/filter_test.rb
|
113
|
+
- test/logs/apache_error.log
|
114
|
+
- test/logs/clf.log
|
115
|
+
- test/logs/django.log
|
116
|
+
- test/logs/mongodb.log
|
117
|
+
- test/logs/nginx_access.log
|
118
|
+
- test/logs/nginx_error.log
|
119
|
+
- test/logs/puppet.log
|
120
|
+
- test/logs/python.log
|
121
|
+
- test/logs/rack.log
|
122
|
+
- test/logs/rails.log
|
123
|
+
- test/logs/redis.log
|
124
|
+
- test/logs/ruby_logger.log
|
125
|
+
- test/logs/syslog.log
|
126
|
+
- test/test_helper.rb
|