log-monitor 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/log_monitor/version.rb +1 -1
- data/test/dummy/Gemfile +1 -1
- data/test/dummy/Gemfile.lock +81 -53
- data/test/dummy/config/log-monitor.yml +2 -2
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/log/development.log +448 -0
- metadata +27 -26
- data/config/log-monitor.yml +0 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08168f882327eafddaedb2cdf0584337c3ebd822
|
4
|
+
data.tar.gz: 0789b29f51fa7e79b4f3a3cd55d893eda6f9b0a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d550fa20fa93db1cd141b89fd3ece283d0c5ab5d8e5636194bb503da184af2c41facdaa8cb17d802e35a1769ecad7e33e2ffa4f6c7a49e96779c4af001620e7
|
7
|
+
data.tar.gz: 011ae8acda5f617d1559bc1d7340d39eae855e907d17fe81eee2fa34758bc566689eea74e1e19e33597f87e956ab47ad31d8516a8c0cfa92a8b3e6c0d54887d5
|
data/lib/log_monitor/version.rb
CHANGED
data/test/dummy/Gemfile
CHANGED
data/test/dummy/Gemfile.lock
CHANGED
@@ -1,84 +1,109 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/JironBach/log_monitor.git
|
3
|
-
revision:
|
3
|
+
revision: 0d88efd0b1d3deb839707a705f3fadb15f5936c7
|
4
4
|
branch: develop
|
5
5
|
specs:
|
6
|
-
log-monitor (0.0
|
7
|
-
rails (~> 4.
|
8
|
-
|
6
|
+
log-monitor (0.1.0)
|
7
|
+
rails (~> 4.2)
|
8
|
+
tlsmail_jironbach (~> 0.0.2)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionmailer (4.
|
14
|
-
actionpack (= 4.
|
15
|
-
actionview (= 4.
|
13
|
+
actionmailer (4.2.4)
|
14
|
+
actionpack (= 4.2.4)
|
15
|
+
actionview (= 4.2.4)
|
16
|
+
activejob (= 4.2.4)
|
16
17
|
mail (~> 2.5, >= 2.5.4)
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
19
|
+
actionpack (4.2.4)
|
20
|
+
actionview (= 4.2.4)
|
21
|
+
activesupport (= 4.2.4)
|
22
|
+
rack (~> 1.6)
|
21
23
|
rack-test (~> 0.6.2)
|
22
|
-
|
23
|
-
|
24
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
25
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
26
|
+
actionview (4.2.4)
|
27
|
+
activesupport (= 4.2.4)
|
24
28
|
builder (~> 3.1)
|
25
29
|
erubis (~> 2.7.0)
|
26
|
-
|
27
|
-
|
30
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
31
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
32
|
+
activejob (4.2.4)
|
33
|
+
activesupport (= 4.2.4)
|
34
|
+
globalid (>= 0.3.0)
|
35
|
+
activemodel (4.2.4)
|
36
|
+
activesupport (= 4.2.4)
|
28
37
|
builder (~> 3.1)
|
29
|
-
activerecord (4.
|
30
|
-
activemodel (= 4.
|
31
|
-
activesupport (= 4.
|
32
|
-
arel (~>
|
33
|
-
activesupport (4.
|
34
|
-
i18n (~> 0.
|
38
|
+
activerecord (4.2.4)
|
39
|
+
activemodel (= 4.2.4)
|
40
|
+
activesupport (= 4.2.4)
|
41
|
+
arel (~> 6.0)
|
42
|
+
activesupport (4.2.4)
|
43
|
+
i18n (~> 0.7)
|
35
44
|
json (~> 1.7, >= 1.7.7)
|
36
45
|
minitest (~> 5.1)
|
37
|
-
thread_safe (~> 0.
|
46
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
38
47
|
tzinfo (~> 1.1)
|
39
|
-
arel (
|
48
|
+
arel (6.0.3)
|
40
49
|
builder (3.2.2)
|
41
50
|
coffee-rails (4.0.1)
|
42
51
|
coffee-script (>= 2.2.0)
|
43
52
|
railties (>= 4.0.0, < 5.0)
|
44
|
-
coffee-script (2.
|
53
|
+
coffee-script (2.4.1)
|
45
54
|
coffee-script-source
|
46
55
|
execjs
|
47
|
-
coffee-script-source (1.
|
56
|
+
coffee-script-source (1.9.1.1)
|
48
57
|
erubis (2.7.0)
|
49
|
-
execjs (2.
|
58
|
+
execjs (2.6.0)
|
59
|
+
globalid (0.3.6)
|
60
|
+
activesupport (>= 4.1.0)
|
50
61
|
hike (1.2.3)
|
51
62
|
i18n (0.7.0)
|
52
|
-
jquery-rails (
|
53
|
-
|
63
|
+
jquery-rails (4.0.5)
|
64
|
+
rails-dom-testing (~> 1.0)
|
65
|
+
railties (>= 4.2.0)
|
54
66
|
thor (>= 0.14, < 2.0)
|
55
|
-
json (1.8.
|
67
|
+
json (1.8.3)
|
68
|
+
loofah (2.0.3)
|
69
|
+
nokogiri (>= 1.5.9)
|
56
70
|
mail (2.6.3)
|
57
71
|
mime-types (>= 1.16, < 3)
|
58
|
-
mime-types (2.
|
59
|
-
|
60
|
-
|
61
|
-
|
72
|
+
mime-types (2.6.1)
|
73
|
+
mini_portile (0.6.2)
|
74
|
+
minitest (5.8.0)
|
75
|
+
multi_json (1.11.2)
|
76
|
+
nokogiri (1.6.6.2)
|
77
|
+
mini_portile (~> 0.6.0)
|
78
|
+
rack (1.6.4)
|
62
79
|
rack-test (0.6.3)
|
63
80
|
rack (>= 1.0)
|
64
|
-
rails (4.
|
65
|
-
actionmailer (= 4.
|
66
|
-
actionpack (= 4.
|
67
|
-
actionview (= 4.
|
68
|
-
|
69
|
-
|
70
|
-
|
81
|
+
rails (4.2.4)
|
82
|
+
actionmailer (= 4.2.4)
|
83
|
+
actionpack (= 4.2.4)
|
84
|
+
actionview (= 4.2.4)
|
85
|
+
activejob (= 4.2.4)
|
86
|
+
activemodel (= 4.2.4)
|
87
|
+
activerecord (= 4.2.4)
|
88
|
+
activesupport (= 4.2.4)
|
71
89
|
bundler (>= 1.3.0, < 2.0)
|
72
|
-
railties (= 4.
|
73
|
-
sprockets-rails
|
74
|
-
|
75
|
-
|
76
|
-
|
90
|
+
railties (= 4.2.4)
|
91
|
+
sprockets-rails
|
92
|
+
rails-deprecated_sanitizer (1.0.3)
|
93
|
+
activesupport (>= 4.2.0.alpha)
|
94
|
+
rails-dom-testing (1.0.7)
|
95
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
96
|
+
nokogiri (~> 1.6.0)
|
97
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
98
|
+
rails-html-sanitizer (1.0.2)
|
99
|
+
loofah (~> 2.0)
|
100
|
+
railties (4.2.4)
|
101
|
+
actionpack (= 4.2.4)
|
102
|
+
activesupport (= 4.2.4)
|
77
103
|
rake (>= 0.8.7)
|
78
104
|
thor (>= 0.18.1, < 2.0)
|
79
105
|
rake (10.4.2)
|
80
106
|
rdoc (4.2.0)
|
81
|
-
json (~> 1.4)
|
82
107
|
sass (3.2.19)
|
83
108
|
sass-rails (4.0.5)
|
84
109
|
railties (>= 4.0.0, < 5.0)
|
@@ -88,26 +113,26 @@ GEM
|
|
88
113
|
sdoc (0.4.1)
|
89
114
|
json (~> 1.7, >= 1.7.7)
|
90
115
|
rdoc (~> 4.0)
|
91
|
-
spring (1.
|
92
|
-
sprockets (2.12.
|
116
|
+
spring (1.3.6)
|
117
|
+
sprockets (2.12.4)
|
93
118
|
hike (~> 1.2)
|
94
119
|
multi_json (~> 1.0)
|
95
120
|
rack (~> 1.0)
|
96
121
|
tilt (~> 1.1, != 1.3.0)
|
97
|
-
sprockets-rails (2.
|
122
|
+
sprockets-rails (2.3.3)
|
98
123
|
actionpack (>= 3.0)
|
99
124
|
activesupport (>= 3.0)
|
100
125
|
sprockets (>= 2.8, < 4.0)
|
101
126
|
sqlite3 (1.3.10)
|
102
127
|
thor (0.19.1)
|
103
|
-
thread_safe (0.3.
|
128
|
+
thread_safe (0.3.5)
|
104
129
|
tilt (1.4.1)
|
105
|
-
|
130
|
+
tlsmail_jironbach (0.0.2)
|
106
131
|
turbolinks (2.5.3)
|
107
132
|
coffee-rails
|
108
133
|
tzinfo (1.2.2)
|
109
134
|
thread_safe (~> 0.1)
|
110
|
-
uglifier (2.7.
|
135
|
+
uglifier (2.7.2)
|
111
136
|
execjs (>= 0.3.0)
|
112
137
|
json (>= 1.8.0)
|
113
138
|
|
@@ -118,10 +143,13 @@ DEPENDENCIES
|
|
118
143
|
coffee-rails (~> 4.0.0)
|
119
144
|
jquery-rails
|
120
145
|
log-monitor!
|
121
|
-
rails (
|
146
|
+
rails (~> 4.2.0)
|
122
147
|
sass-rails (~> 4.0.3)
|
123
148
|
sdoc (~> 0.4.0)
|
124
149
|
spring
|
125
150
|
sqlite3
|
126
151
|
turbolinks
|
127
152
|
uglifier (>= 1.3.0)
|
153
|
+
|
154
|
+
BUNDLED WITH
|
155
|
+
1.10.6
|
@@ -7,7 +7,7 @@ production: &base
|
|
7
7
|
email:
|
8
8
|
to: jironbach@gmail.com
|
9
9
|
from: shimoda@agilebooster.com
|
10
|
-
subject: Alert!
|
10
|
+
subject: Alert! log-monitor 500 error occured!
|
11
11
|
address: smtp.gmail.com
|
12
12
|
port: 587
|
13
13
|
user_name: shimoda@agilebooster.com
|
@@ -26,7 +26,7 @@ development:
|
|
26
26
|
to:
|
27
27
|
- shimoda@agilebooster.com
|
28
28
|
from: shimoda@agilebooster.com
|
29
|
-
subject:
|
29
|
+
subject: TEST! log-monitor Error occured!
|
30
30
|
address: smtp.gmail.com
|
31
31
|
port: 587
|
32
32
|
user_name: shimoda@agilebooster.com
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 0) do
|
15
|
+
|
16
|
+
end
|
@@ -8271,3 +8271,451 @@ ActionView::MissingTemplate (Missing template monitor/raise500, application/rais
|
|
8271
8271
|
|
8272
8272
|
|
8273
8273
|
Rendered vendor/bundle/ruby/2.1.0/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (14.3ms)
|
8274
|
+
|
8275
|
+
|
8276
|
+
Started GET "/" for 127.0.0.1 at 2015-09-07 02:26:55 +0900
|
8277
|
+
Processing by MonitorController#raise500 as HTML
|
8278
|
+
Completed 500 Internal Server Error in 25ms
|
8279
|
+
|
8280
|
+
ActionView::MissingTemplate (Missing template monitor/raise500, application/raise500 with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in:
|
8281
|
+
* "/Users/js/work/log_monitor/test/dummy/app/views"
|
8282
|
+
):
|
8283
|
+
actionview (4.1.7) lib/action_view/path_set.rb:46:in `find'
|
8284
|
+
actionview (4.1.7) lib/action_view/lookup_context.rb:124:in `find'
|
8285
|
+
actionview (4.1.7) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
8286
|
+
actionview (4.1.7) lib/action_view/renderer/template_renderer.rb:41:in `determine_template'
|
8287
|
+
actionview (4.1.7) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
8288
|
+
actionview (4.1.7) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
8289
|
+
actionview (4.1.7) lib/action_view/renderer/renderer.rb:23:in `render'
|
8290
|
+
actionview (4.1.7) lib/action_view/rendering.rb:99:in `_render_template'
|
8291
|
+
actionpack (4.1.7) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
8292
|
+
actionview (4.1.7) lib/action_view/rendering.rb:82:in `render_to_body'
|
8293
|
+
actionpack (4.1.7) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
8294
|
+
actionpack (4.1.7) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
|
8295
|
+
actionpack (4.1.7) lib/abstract_controller/rendering.rb:25:in `render'
|
8296
|
+
actionpack (4.1.7) lib/action_controller/metal/rendering.rb:16:in `render'
|
8297
|
+
actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
|
8298
|
+
activesupport (4.1.7) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
8299
|
+
/Users/js/.rbenv/versions/2.1.5/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
|
8300
|
+
activesupport (4.1.7) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
8301
|
+
actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
|
8302
|
+
actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
|
8303
|
+
activerecord (4.1.7) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
8304
|
+
actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:40:in `render'
|
8305
|
+
actionpack (4.1.7) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
8306
|
+
actionpack (4.1.7) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
8307
|
+
actionpack (4.1.7) lib/abstract_controller/base.rb:189:in `process_action'
|
8308
|
+
actionpack (4.1.7) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
8309
|
+
actionpack (4.1.7) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
8310
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:113:in `call'
|
8311
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:113:in `call'
|
8312
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `block in halting'
|
8313
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `call'
|
8314
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:229:in `block in halting'
|
8315
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
|
8316
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
|
8317
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `call'
|
8318
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:166:in `block in halting'
|
8319
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:149:in `call'
|
8320
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
|
8321
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `call'
|
8322
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:86:in `run_callbacks'
|
8323
|
+
actionpack (4.1.7) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
8324
|
+
actionpack (4.1.7) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
8325
|
+
actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
|
8326
|
+
activesupport (4.1.7) lib/active_support/notifications.rb:159:in `block in instrument'
|
8327
|
+
activesupport (4.1.7) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
8328
|
+
activesupport (4.1.7) lib/active_support/notifications.rb:159:in `instrument'
|
8329
|
+
actionpack (4.1.7) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
8330
|
+
actionpack (4.1.7) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
8331
|
+
activerecord (4.1.7) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
8332
|
+
actionpack (4.1.7) lib/abstract_controller/base.rb:136:in `process'
|
8333
|
+
actionview (4.1.7) lib/action_view/rendering.rb:30:in `process'
|
8334
|
+
actionpack (4.1.7) lib/action_controller/metal.rb:196:in `dispatch'
|
8335
|
+
actionpack (4.1.7) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
8336
|
+
actionpack (4.1.7) lib/action_controller/metal.rb:232:in `block in action'
|
8337
|
+
actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `call'
|
8338
|
+
actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
|
8339
|
+
actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:50:in `call'
|
8340
|
+
actionpack (4.1.7) lib/action_dispatch/journey/router.rb:73:in `block in call'
|
8341
|
+
actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `each'
|
8342
|
+
actionpack (4.1.7) lib/action_dispatch/journey/router.rb:59:in `call'
|
8343
|
+
actionpack (4.1.7) lib/action_dispatch/routing/route_set.rb:678:in `call'
|
8344
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
8345
|
+
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
|
8346
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
8347
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
8348
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/flash.rb:254:in `call'
|
8349
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
8350
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
8351
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
8352
|
+
activerecord (4.1.7) lib/active_record/query_cache.rb:36:in `call'
|
8353
|
+
activerecord (4.1.7) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
|
8354
|
+
activerecord (4.1.7) lib/active_record/migration.rb:380:in `call'
|
8355
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
8356
|
+
activesupport (4.1.7) lib/active_support/callbacks.rb:82:in `run_callbacks'
|
8357
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
8358
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
8359
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
8360
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
8361
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
8362
|
+
railties (4.1.7) lib/rails/rack/logger.rb:38:in `call_app'
|
8363
|
+
railties (4.1.7) lib/rails/rack/logger.rb:20:in `block in call'
|
8364
|
+
activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
8365
|
+
activesupport (4.1.7) lib/active_support/tagged_logging.rb:26:in `tagged'
|
8366
|
+
activesupport (4.1.7) lib/active_support/tagged_logging.rb:68:in `tagged'
|
8367
|
+
railties (4.1.7) lib/rails/rack/logger.rb:20:in `call'
|
8368
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
8369
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
8370
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
8371
|
+
activesupport (4.1.7) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
8372
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
8373
|
+
actionpack (4.1.7) lib/action_dispatch/middleware/static.rb:84:in `call'
|
8374
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
8375
|
+
railties (4.1.7) lib/rails/engine.rb:514:in `call'
|
8376
|
+
railties (4.1.7) lib/rails/application.rb:144:in `call'
|
8377
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
8378
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
8379
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
8380
|
+
/Users/js/.rbenv/versions/2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
8381
|
+
/Users/js/.rbenv/versions/2.1.5/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
8382
|
+
/Users/js/.rbenv/versions/2.1.5/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
8383
|
+
|
8384
|
+
|
8385
|
+
Rendered /Users/js/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/actionpack-4.1.7/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (1.7ms)
|
8386
|
+
|
8387
|
+
|
8388
|
+
Started GET "/" for ::1 at 2015-09-08 21:20:28 +0900
|
8389
|
+
Processing by MonitorController#raise500 as HTML
|
8390
|
+
Completed 500 Internal Server Error in 35ms (ActiveRecord: 0.0ms)
|
8391
|
+
|
8392
|
+
ActionView::MissingTemplate (Missing template monitor/raise500, application/raise500 with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in:
|
8393
|
+
* "/Users/js/work/log_monitor/test/dummy/app/views"
|
8394
|
+
):
|
8395
|
+
actionview (4.2.4) lib/action_view/path_set.rb:46:in `find'
|
8396
|
+
actionview (4.2.4) lib/action_view/lookup_context.rb:121:in `find'
|
8397
|
+
actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
8398
|
+
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
|
8399
|
+
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
8400
|
+
actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
8401
|
+
actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
8402
|
+
actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template'
|
8403
|
+
actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
8404
|
+
actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body'
|
8405
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
8406
|
+
actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
8407
|
+
actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render'
|
8408
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
8409
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
8410
|
+
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
8411
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
8412
|
+
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
8413
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
8414
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
8415
|
+
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
8416
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
8417
|
+
actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
8418
|
+
actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
8419
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
|
8420
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
8421
|
+
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
8422
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
|
8423
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
|
8424
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
8425
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
|
8426
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
|
8427
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
8428
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
8429
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8430
|
+
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
8431
|
+
actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
8432
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
8433
|
+
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
|
8434
|
+
activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
8435
|
+
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
|
8436
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
8437
|
+
actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
8438
|
+
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
8439
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
|
8440
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
8441
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
8442
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
8443
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
8444
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
8445
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
8446
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
8447
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
8448
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
8449
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
8450
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
8451
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
8452
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
8453
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
8454
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
8455
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
8456
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
8457
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
8458
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
8459
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
8460
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
8461
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
8462
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
8463
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
8464
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
8465
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8466
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
8467
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
8468
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
8469
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
8470
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
8471
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
8472
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
8473
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
8474
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
8475
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
8476
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
8477
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
8478
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
8479
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
8480
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
8481
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
8482
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
8483
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
8484
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
8485
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
8486
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
8487
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
8488
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
8489
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
8490
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
8491
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
8492
|
+
|
8493
|
+
|
8494
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.0ms)
|
8495
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.6ms)
|
8496
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.1ms)
|
8497
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (147.6ms)
|
8498
|
+
|
8499
|
+
|
8500
|
+
Started GET "/" for 192.168.204.1 at 2015-09-08 21:54:25 +0900
|
8501
|
+
Processing by MonitorController#raise500 as HTML
|
8502
|
+
Completed 500 Internal Server Error in 79ms (ActiveRecord: 0.0ms)
|
8503
|
+
|
8504
|
+
ActionView::MissingTemplate (Missing template monitor/raise500, application/raise500 with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in:
|
8505
|
+
* "/Users/js/work/log_monitor/test/dummy/app/views"
|
8506
|
+
):
|
8507
|
+
actionview (4.2.4) lib/action_view/path_set.rb:46:in `find'
|
8508
|
+
actionview (4.2.4) lib/action_view/lookup_context.rb:121:in `find'
|
8509
|
+
actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
8510
|
+
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
|
8511
|
+
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
8512
|
+
actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
8513
|
+
actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
8514
|
+
actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template'
|
8515
|
+
actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
8516
|
+
actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body'
|
8517
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
8518
|
+
actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
8519
|
+
actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render'
|
8520
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
8521
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
8522
|
+
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
8523
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
8524
|
+
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
8525
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
8526
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
8527
|
+
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
8528
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
8529
|
+
actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
8530
|
+
actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
8531
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
|
8532
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
8533
|
+
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
8534
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
|
8535
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
|
8536
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
8537
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
|
8538
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
|
8539
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
8540
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
8541
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8542
|
+
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
8543
|
+
actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
8544
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
8545
|
+
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
|
8546
|
+
activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
8547
|
+
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
|
8548
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
8549
|
+
actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
8550
|
+
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
8551
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
|
8552
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
8553
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
8554
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
8555
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
8556
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
8557
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
8558
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
8559
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
8560
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
8561
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
8562
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
8563
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
8564
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
8565
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
8566
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
8567
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
8568
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
8569
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
8570
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
8571
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
8572
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
8573
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
8574
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
8575
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
8576
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
8577
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8578
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
8579
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
8580
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
8581
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
8582
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
8583
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
8584
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
8585
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
8586
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
8587
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
8588
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
8589
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
8590
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
8591
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
8592
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
8593
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
8594
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
8595
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
8596
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
8597
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
8598
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
8599
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
8600
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
8601
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
8602
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
8603
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
8604
|
+
|
8605
|
+
|
8606
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.0ms)
|
8607
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (13.9ms)
|
8608
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.5ms)
|
8609
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (127.2ms)
|
8610
|
+
|
8611
|
+
|
8612
|
+
Started GET "/" for 192.168.204.1 at 2015-09-08 21:57:02 +0900
|
8613
|
+
Processing by MonitorController#raise500 as HTML
|
8614
|
+
Completed 500 Internal Server Error in 55ms (ActiveRecord: 0.0ms)
|
8615
|
+
|
8616
|
+
ActionView::MissingTemplate (Missing template monitor/raise500, application/raise500 with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee]}. Searched in:
|
8617
|
+
* "/Users/js/work/log_monitor/test/dummy/app/views"
|
8618
|
+
):
|
8619
|
+
actionview (4.2.4) lib/action_view/path_set.rb:46:in `find'
|
8620
|
+
actionview (4.2.4) lib/action_view/lookup_context.rb:121:in `find'
|
8621
|
+
actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
|
8622
|
+
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:40:in `determine_template'
|
8623
|
+
actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:8:in `render'
|
8624
|
+
actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
|
8625
|
+
actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render'
|
8626
|
+
actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template'
|
8627
|
+
actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
|
8628
|
+
actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body'
|
8629
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
|
8630
|
+
actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
|
8631
|
+
actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render'
|
8632
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render'
|
8633
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
|
8634
|
+
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
|
8635
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
|
8636
|
+
activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
|
8637
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
|
8638
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
|
8639
|
+
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
|
8640
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render'
|
8641
|
+
actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
|
8642
|
+
actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
|
8643
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
|
8644
|
+
actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
|
8645
|
+
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
8646
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
|
8647
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
|
8648
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
|
8649
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
|
8650
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
|
8651
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
|
8652
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
|
8653
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8654
|
+
actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
|
8655
|
+
actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
|
8656
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
8657
|
+
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
|
8658
|
+
activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
8659
|
+
activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
|
8660
|
+
actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
8661
|
+
actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
8662
|
+
activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
8663
|
+
actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
|
8664
|
+
actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
|
8665
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
|
8666
|
+
actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
8667
|
+
actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
|
8668
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
|
8669
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
|
8670
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
|
8671
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
|
8672
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
|
8673
|
+
actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
|
8674
|
+
actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
|
8675
|
+
rack (1.6.4) lib/rack/etag.rb:24:in `call'
|
8676
|
+
rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
|
8677
|
+
rack (1.6.4) lib/rack/head.rb:13:in `call'
|
8678
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
8679
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
|
8680
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
|
8681
|
+
rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
|
8682
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
|
8683
|
+
activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
|
8684
|
+
activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
|
8685
|
+
activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
|
8686
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
8687
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
|
8688
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
|
8689
|
+
activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
|
8690
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
8691
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
|
8692
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
|
8693
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
8694
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
8695
|
+
railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
|
8696
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
|
8697
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
8698
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
8699
|
+
activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
8700
|
+
railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
|
8701
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
8702
|
+
rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
|
8703
|
+
rack (1.6.4) lib/rack/runtime.rb:18:in `call'
|
8704
|
+
activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
|
8705
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
8706
|
+
actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
|
8707
|
+
rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
|
8708
|
+
railties (4.2.4) lib/rails/engine.rb:518:in `call'
|
8709
|
+
railties (4.2.4) lib/rails/application.rb:165:in `call'
|
8710
|
+
rack (1.6.4) lib/rack/lock.rb:17:in `call'
|
8711
|
+
rack (1.6.4) lib/rack/content_length.rb:15:in `call'
|
8712
|
+
rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
|
8713
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
|
8714
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
|
8715
|
+
/Users/js/.rbenv/versions/2.2.0/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
|
8716
|
+
|
8717
|
+
|
8718
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms)
|
8719
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
|
8720
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.4ms)
|
8721
|
+
Rendered /Users/js/.rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/missing_template.html.erb within rescues/layout (222.6ms)
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: log-monitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JironBach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '4.
|
19
|
+
version: '4.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '4.
|
26
|
+
version: '4.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: tlsmail_jironbach
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - ~>
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.0.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - ~>
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.0.2
|
41
41
|
description: Monitoring log and alert with email, webpost, file or console.
|
42
42
|
email:
|
43
43
|
- jironbach@gmail.com
|
@@ -45,26 +45,29 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
-
|
49
|
-
-
|
48
|
+
- MIT-LICENSE
|
49
|
+
- README.rdoc
|
50
|
+
- Rakefile
|
50
51
|
- app/assets/javascripts/log_monitor/application.js
|
51
52
|
- app/assets/stylesheets/log_monitor/application.css
|
52
53
|
- app/controllers/log_monitor/application_controller.rb
|
53
54
|
- app/helpers/log_monitor/application_helper.rb
|
54
55
|
- app/views/layouts/log_monitor/application.html.erb
|
55
|
-
-
|
56
|
+
- bin/log-monitor.rb
|
57
|
+
- bin/rails.bak
|
56
58
|
- config/log-monitor.yml.example
|
57
59
|
- config/routes.rb
|
60
|
+
- lib/log_monitor.rb
|
58
61
|
- lib/log_monitor/alerter.rb
|
59
62
|
- lib/log_monitor/application_controller.rb
|
60
63
|
- lib/log_monitor/application_helper.rb
|
61
64
|
- lib/log_monitor/engine.rb
|
62
65
|
- lib/log_monitor/version.rb
|
63
|
-
- lib/log_monitor.rb
|
64
66
|
- lib/tasks/log_monitor_tasks.rake
|
65
|
-
-
|
66
|
-
-
|
67
|
-
- README.rdoc
|
67
|
+
- test/dummy/Gemfile
|
68
|
+
- test/dummy/Gemfile.lock
|
69
|
+
- test/dummy/README.rdoc
|
70
|
+
- test/dummy/Rakefile
|
68
71
|
- test/dummy/app/assets/javascripts/application.js
|
69
72
|
- test/dummy/app/assets/javascripts/monitor.js.coffee
|
70
73
|
- test/dummy/app/assets/stylesheets/application.css
|
@@ -79,6 +82,7 @@ files:
|
|
79
82
|
- test/dummy/bin/rails
|
80
83
|
- test/dummy/bin/rake
|
81
84
|
- test/dummy/bin/spring
|
85
|
+
- test/dummy/config.ru
|
82
86
|
- test/dummy/config/application.rb
|
83
87
|
- test/dummy/config/boot.rb
|
84
88
|
- test/dummy/config/database.yml
|
@@ -100,11 +104,9 @@ files:
|
|
100
104
|
- test/dummy/config/log-monitor.yml.example
|
101
105
|
- test/dummy/config/routes.rb
|
102
106
|
- test/dummy/config/secrets.yml
|
103
|
-
- test/dummy/config.ru
|
104
107
|
- test/dummy/db/development.sqlite3
|
108
|
+
- test/dummy/db/schema.rb
|
105
109
|
- test/dummy/db/seeds.rb
|
106
|
-
- test/dummy/Gemfile
|
107
|
-
- test/dummy/Gemfile.lock
|
108
110
|
- test/dummy/lib/log_monitor_runner.rb
|
109
111
|
- test/dummy/log/development.log
|
110
112
|
- test/dummy/log/production.log
|
@@ -113,8 +115,6 @@ files:
|
|
113
115
|
- test/dummy/public/500.html
|
114
116
|
- test/dummy/public/favicon.ico
|
115
117
|
- test/dummy/public/robots.txt
|
116
|
-
- test/dummy/Rakefile
|
117
|
-
- test/dummy/README.rdoc
|
118
118
|
- test/dummy/test/controllers/monitor_controller_test.rb
|
119
119
|
- test/dummy/test/helpers/monitor_helper_test.rb
|
120
120
|
- test/dummy/test/test_helper.rb
|
@@ -132,17 +132,17 @@ require_paths:
|
|
132
132
|
- lib
|
133
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
|
-
- -
|
140
|
+
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
|
-
rubygems_version: 2.
|
145
|
+
rubygems_version: 2.4.5
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: Monitoring log.
|
@@ -184,6 +184,7 @@ test_files:
|
|
184
184
|
- test/dummy/config/secrets.yml
|
185
185
|
- test/dummy/config.ru
|
186
186
|
- test/dummy/db/development.sqlite3
|
187
|
+
- test/dummy/db/schema.rb
|
187
188
|
- test/dummy/db/seeds.rb
|
188
189
|
- test/dummy/Gemfile
|
189
190
|
- test/dummy/Gemfile.lock
|
data/config/log-monitor.yml
DELETED
@@ -1,48 +0,0 @@
|
|
1
|
-
production: &base
|
2
|
-
monitor:
|
3
|
-
target: ~/work/talk-talk-srv/log/development.log
|
4
|
-
words: Completed 500 Internal Server Error
|
5
|
-
method: email
|
6
|
-
email:
|
7
|
-
to: jironbach@gmail.com
|
8
|
-
from: shimoda@agilebooster.com
|
9
|
-
address: smtp.gmail.com
|
10
|
-
port: 587
|
11
|
-
user_name: shimoda@agilebooster.com
|
12
|
-
password: agilebooster
|
13
|
-
subject: [Alert! talktalk.mydns.jp 500 error occured!]
|
14
|
-
|
15
|
-
development:
|
16
|
-
monitor:
|
17
|
-
target: ~/work/talk-talk-srv/log/development.log
|
18
|
-
words:
|
19
|
-
- Completed 500 Internal Server Error
|
20
|
-
- Completed 404 Not Found
|
21
|
-
method:
|
22
|
-
- email
|
23
|
-
- webhook
|
24
|
-
email:
|
25
|
-
to:
|
26
|
-
- jironbach@gmail.com
|
27
|
-
- admin@agilebooster.com
|
28
|
-
- shimoda@agilebooster.com
|
29
|
-
from: shimoda@agilebooster.com
|
30
|
-
address: smtp.gmail.com
|
31
|
-
port: 587
|
32
|
-
user_name: shimoda@agilebooster.com
|
33
|
-
password: agilebooster
|
34
|
-
subject: [Alert! talktalk.mydns.jp Error occured!]
|
35
|
-
webhook: http://talktalk.mydns.jp/monitor/post/
|
36
|
-
|
37
|
-
staging:
|
38
|
-
<<: *base
|
39
|
-
|
40
|
-
test:
|
41
|
-
monitor:
|
42
|
-
target: ~/work/logmonitor/test/dummy/log/development.log
|
43
|
-
words:
|
44
|
-
- Completed 500 Internal Server Error
|
45
|
-
- Completed 404 Not Found
|
46
|
-
method: webhook
|
47
|
-
webhook: http://localhost:3000/monitor/post
|
48
|
-
|