moro 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0322f34ec20a122303a9e6493eeba1bd227d8e88
4
- data.tar.gz: f39096ffc25356bdb83784901215feba4b86a67a
3
+ metadata.gz: 4cd656466e412cf1afd747b17ab5e2a0fc3208e9
4
+ data.tar.gz: c0aee9e6865bfb127c574565c8e81ac464296d82
5
5
  SHA512:
6
- metadata.gz: bfa94690acf342f0628f81ad4ec53973bd83ad9b0d330e7cab9f669e25f3fc878e626cc444f7c4316f2a7fbf48e85c51d6b9c4fc4356081adff7619e46463d51
7
- data.tar.gz: 67bcbfca7e63e97cce18a744f91df25b318eda7206544765b23ffc3f23534b52ee06d5285f582b4c53b145f8d63bc6ecd9160784de68e1e19fe160d36b358525
6
+ metadata.gz: 4d898aa8564b78e0bb7b2b00c579bd315cebeb0c0505aa0562d4c3bc01252b06f606d4490c304a2b2c12cd65e40f4ff83fce68c83367fb505d8e7cf3c801e22e
7
+ data.tar.gz: 9b4c432e7b4d32d606ebd7294e9b747def46c0c467550c75fdd7b22a28182c3abd51f46bdfd3fa6f312f4664253f3b6f7cc1c2cc6b7ff9eea1c6c820ac9f470b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ##0.0.12
2
+ * adjust logger level to info
3
+
1
4
  ##0.0.11
2
5
  * [pr4 refactor log](https://github.com/sudo-recruit/moro/pull/4)
3
6
 
data/README.md CHANGED
@@ -23,11 +23,21 @@ $ moro start --config="config.example.json"
23
23
  "name": "my_awesome_server",
24
24
  "pid": "/tmp/pids/server.pid"
25
25
  }],
26
- // monitor interval
27
26
  "interval": 30,
28
- // enable datadog statsd
29
27
  "datadog": true
30
28
  }
31
29
  ```
32
30
 
31
+ ###options
32
+
33
+ ####processes(default:[])
34
+ processes to monitor
35
+
36
+ ####interval(default:30)
37
+ monitor interval
38
+
39
+ ####datadog(default:false)
40
+ enable datadog statsd
41
+
42
+
33
43
  MIT
data/lib/moro/log.rb CHANGED
@@ -5,7 +5,7 @@ module Moro
5
5
  def self.logger
6
6
  if @logger.nil?
7
7
  @logger = Logger.new STDOUT
8
- @logger.level = Logger::DEBUG
8
+ @logger.level = Logger::INFO
9
9
  end
10
10
  @logger
11
11
  end
data/lib/moro/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Moro
2
- VERSION = '0.0.11'
2
+ VERSION = '0.0.12'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - ocowchun