rails_log_watcher 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -6
- data/rails_log_watcher.gemspec +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -10,13 +10,10 @@ rails_log_watcher
|
|
10
10
|
$ sudo gem install log4r
|
11
11
|
$ sudo gem install rails_log_watcher
|
12
12
|
|
13
|
-
## Usage
|
13
|
+
## Usage
|
14
14
|
|
15
|
-
#
|
16
|
-
|
17
|
-
gem "rails_log_watcher"
|
18
|
-
|
19
|
-
#config/development.rb or production.rb
|
15
|
+
#config/environments/development.rb or production.rb
|
16
|
+
require "rails_log_watcher"
|
20
17
|
config.logger = RailsLogWatcher.new(config.log_path)
|
21
18
|
config.logger.warn_request_secs = 5
|
22
19
|
config.logger.warn_secs = 2
|
data/rails_log_watcher.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_log_watcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 2
|
10
|
+
version: 0.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wayne Deng
|