@@ -122,9 +122,9 @@ def restart
122122 if @container
123123 @notify &.restarting!
124124
125- Async . logger . debug ( self ) { "Restarting container..." }
125+ Console . logger . debug ( self ) { "Restarting container..." }
126126 else
127- Async . logger . debug ( self ) { "Starting container..." }
127+ Console . logger . debug ( self ) { "Starting container..." }
128128 end
129129
130130 container = self . create_container
@@ -138,9 +138,9 @@ def restart
138138 end
139139
140140 # Wait for all child processes to enter the ready state.
141- Async . logger . debug ( self , "Waiting for startup..." )
141+ Console . logger . debug ( self , "Waiting for startup..." )
142142 container . wait_until_ready
143- Async . logger . debug ( self , "Finished startup." )
143+ Console . logger . debug ( self , "Finished startup." )
144144
145145 if container . failed?
146146 @notify &.error! ( $!. to_s )
@@ -154,7 +154,7 @@ def restart
154154 old_container = @container
155155 @container = container
156156
157- Async . logger . debug ( self , "Stopping old container..." )
157+ Console . logger . debug ( self , "Stopping old container..." )
158158 old_container &.stop
159159 @notify &.ready!
160160 rescue
@@ -168,7 +168,7 @@ def restart
168168 def reload
169169 @notify &.reloading!
170170
171- Async . logger . info ( self ) { "Reloading container: #{ @container } ..." }
171+ Console . logger . info ( self ) { "Reloading container: #{ @container } ..." }
172172
173173 begin
174174 self . setup ( @container )
@@ -177,9 +177,9 @@ def reload
177177 end
178178
179179 # Wait for all child processes to enter the ready state.
180- Async . logger . debug ( self , "Waiting for startup..." )
180+ Console . logger . debug ( self , "Waiting for startup..." )
181181 @container . wait_until_ready
182- Async . logger . debug ( self , "Finished startup." )
182+ Console . logger . debug ( self , "Finished startup." )
183183
184184 if @container . failed?
185185 @notify . error! ( "Container failed!" )
@@ -215,7 +215,7 @@ def run
215215 begin
216216 handler . call
217217 rescue SetupError => error
218- Async . logger . error ( self ) { error }
218+ Console . logger . error ( self ) { error }
219219 end
220220 else
221221 raise
0 commit comments