ec2launcher 1.7.4 → 1.7.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,11 @@
1
+ ## 1.7.5
2
+
3
+ * Fixed stray reference to Log4r.
4
+
5
+ ## 1.7.4
6
+
7
+ * Clean up bad references to Log4r.
8
+
1
9
  ## 1.7.3
2
10
 
3
11
  * Fixed issue with Gemspec not installing executables correctly.
@@ -15,10 +15,16 @@ module EC2Launcher
15
15
  include BackoffRunner
16
16
 
17
17
  def initialize(config_directory)
18
- @log = Logger.new 'ec2launcher'
19
- log_output = Outputter.stdout
20
- log_output.formatter = PatternFormatter.new :pattern => "%m"
21
- @log.outputters = log_output
18
+ begin
19
+ @log = Log4r::Logger['ec2launcher']
20
+ unless @log
21
+ @log = Log4r::Logger.new 'ec2launcher'
22
+ log_output = Log4r::Outputter.stdout
23
+ log_output.formatter = PatternFormatter.new :pattern => "%m"
24
+ @log.outputters = log_output
25
+ end
26
+ rescue
27
+ end
22
28
 
23
29
  ##############################
24
30
  # Load configuration data
@@ -2,5 +2,5 @@
2
2
  # Copyright (c) 2013 Sean Laurent
3
3
  #
4
4
  module EC2Launcher
5
- VERSION = "1.7.4"
5
+ VERSION = "1.7.5"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ec2launcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.4
4
+ version: 1.7.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: