@@ -109,9 +109,9 @@ def restart
109109 if @container
110110 @notify &.restarting!
111111
112- Console . logger . debug ( self ) { "Restarting container..." }
112+ Console . debug ( self ) { "Restarting container..." }
113113 else
114- Console . logger . debug ( self ) { "Starting container..." }
114+ Console . debug ( self ) { "Starting container..." }
115115 end
116116
117117 container = self . create_container
@@ -125,9 +125,9 @@ def restart
125125 end
126126
127127 # Wait for all child processes to enter the ready state.
128- Console . logger . debug ( self , "Waiting for startup..." )
128+ Console . debug ( self , "Waiting for startup..." )
129129 container . wait_until_ready
130- Console . logger . debug ( self , "Finished startup." )
130+ Console . debug ( self , "Finished startup." )
131131
132132 if container . failed?
133133 @notify &.error! ( "Container failed to start!" )
@@ -143,7 +143,7 @@ def restart
143143 container = nil
144144
145145 if old_container
146- Console . logger . debug ( self , "Stopping old container..." )
146+ Console . debug ( self , "Stopping old container..." )
147147 old_container &.stop ( @graceful_stop )
148148 end
149149
@@ -157,7 +157,7 @@ def restart
157157 def reload
158158 @notify &.reloading!
159159
160- Console . logger . info ( self ) { "Reloading container: #{ @container } ..." }
160+ Console . info ( self ) { "Reloading container: #{ @container } ..." }
161161
162162 begin
163163 self . setup ( @container )
@@ -166,11 +166,11 @@ def reload
166166 end
167167
168168 # Wait for all child processes to enter the ready state.
169- Console . logger . debug ( self , "Waiting for startup..." )
169+ Console . debug ( self , "Waiting for startup..." )
170170
171171 @container . wait_until_ready
172172
173- Console . logger . debug ( self , "Finished startup." )
173+ Console . debug ( self , "Finished startup." )
174174
175175 if @container . failed?
176176 @notify . error! ( "Container failed to reload!" )
@@ -210,7 +210,7 @@ def run
210210 begin
211211 handler . call
212212 rescue SetupError => error
213- Console . logger . error ( self ) { error }
213+ Console . error ( self ) { error }
214214 end
215215 else
216216 raise
0 commit comments