some more logging

This commit is contained in:
Ralf Teusner
2015-11-09 10:23:26 +01:00
parent 7f3189615f
commit b05b24ee62

View File

@ -162,6 +162,7 @@ class DockerClient
@socket ||= create_socket(@container)
# Newline required to flush
@socket.send command + "\n"
Rails.logger.info('Sent command: ' + command.to_s)
{status: :container_running, socket: @socket, container: @container}
else
{status: :container_depleted}