make sure the mounter logger is also available in the daemon processes

did committed Nov 10, 2014
commit e1b011861781d18391c7c4b1f7e6feca93b12a73
Showing 1 changed file with 2 additions and 1 deletions
locomotive/wagon.rb b/lib/locomotive/wagon.rb +2 -1
@@ @@ -103,6 +103,7 @@ module Locomotive
if Process.pid != parent_pid
# A "new logger" inside the daemon.
Locomotive::Wagon::Logger.setup(path, false)
+ Locomotive::Mounter.logger = Locomotive::Wagon::Logger.instance.logger
end
end
@@ @@ -294,4 +295,4 @@ module Locomotive
end
end
- end
\ No newline at end of file
+ end