trinidad_daemon_extension 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,7 @@
1
+ == 0.2.3 (2010-11-20)
2
+
3
+ * Allow to disable daemon log
4
+
1
5
  == 0.2.2 (2010-11-18)
2
6
 
3
7
  * Use the system default umask
data/README CHANGED
@@ -41,6 +41,13 @@ By default it writes the logs into the file log/trinidad.log with the level INFO
41
41
  file: trinidad.log # where the daemon writes its output
42
42
  level: ALL # severity level, it cn be one of these: ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING
43
43
 
44
+ This log is enabled by default but if we don't need it or we are using another logger system we can also disable it:
45
+
46
+ ---
47
+ extension:
48
+ daemon:
49
+ nolog:
50
+
44
51
  The extension also allows to add new JVM arguments to run the daemon with. They just need to be added into the configuration file:
45
52
 
46
53
  ---
data/Rakefile CHANGED
@@ -96,7 +96,7 @@ task :release => :build do
96
96
  sh "git commit --allow-empty -a -m 'Release #{version}'"
97
97
  sh "git tag v#{version}"
98
98
  sh "git push origin master"
99
- sh "git push v#{version}"
99
+ sh "git push --tags"
100
100
  sh "gem push pkg/#{name}-#{version}.gem"
101
101
  end
102
102
 
@@ -9,7 +9,7 @@ require File.expand_path('../../trinidad-libs/trinidad-daemon-extension', __FILE
9
9
  module Trinidad
10
10
  module Extensions
11
11
  module Daemon
12
- VERSION = '0.2.2'
12
+ VERSION = '0.2.3'
13
13
  end
14
14
 
15
15
  class DaemonServerExtension < ServerExtension
@@ -20,6 +20,7 @@ module Trinidad
20
20
  def override_tomcat?; true; end
21
21
 
22
22
  def logger_options
23
+ return if @options.has_key?(:nolog)
23
24
  log = @options[:log] || {}
24
25
  log[:file] ||= 'log/trinidad.log'
25
26
 
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'trinidad_daemon_extension'
16
- s.version = '0.2.2'
17
- s.date = '2010-11-18'
16
+ s.version = '0.2.3'
17
+ s.date = '2010-11-20'
18
18
  s.rubyforge_project = 'trinidad_daemon_extension'
19
19
 
20
20
  ## Make sure your summary is short. The description may be as long
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 2
9
- version: 0.2.2
8
+ - 3
9
+ version: 0.2.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Calavera
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-11-18 00:00:00 +01:00
17
+ date: 2010-11-20 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency