You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that the command echo hello is logged in audit.log, but all the output from the command itself isn't logged with kamal configured logging driver.
I'd be happy to contribute by enabling logging in kamal app exec. Though, it needs to be noted that the logs emitted in a "reused" container won't appear in the kamal configured logging driver. This is due to the fact that docker exec creates a new process inside the running container and has its own stdout.
The text was updated successfully, but these errors were encountered:
When executing a new command with app exec (--no-reuse) a new container is run with a command like:
I wonder if it is a design choice to not include
*role.logging_args
here:kamal/lib/kamal/commands/app/execution.rb
Lines 10 to 21 in 347eb69
I see that the command
echo hello
is logged inaudit.log
, but all the output from the command itself isn't logged with kamal configured logging driver.I'd be happy to contribute by enabling logging in
kamal app exec
. Though, it needs to be noted that the logs emitted in a "reused" container won't appear in the kamal configured logging driver. This is due to the fact thatdocker exec
creates a new process inside the running container and has its own stdout.The text was updated successfully, but these errors were encountered: