Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Commit 38ef3bf

Browse files
authored
Merge pull request #190 from MidnightsFX/no_prod_secrets
Reduce logging level for secrets
2 parents 1dacf22 + eb178c2 commit 38ef3bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/centurion/deploy.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,12 @@ def start_new_container(server, service, restart_policy)
108108

109109
info "Starting new container #{container['Id'][0..7]}"
110110
server.start_container(container['Id'], host_config)
111+
info "Started #{container['Id'][0..7]} successfully"
111112

112-
info "Inspecting new container #{container['Id'][0..7]}:"
113+
# since this likely contains secrets we don't want to be always printing configurations
114+
debug "Inspecting new container #{container['Id'][0..7]}:"
113115
(server.inspect_container(container['Id']) || {}).each_pair do |key,value|
114-
info "\t#{key} => #{value.inspect}"
116+
debug "\t#{key} => #{value.inspect}"
115117
end
116118

117119
container

0 commit comments

Comments
 (0)