tsuru run output should include unit name
tsuru run output should include node name, something like this:
$ tsuru run -a wordpress 'pwd'
== output for "pwd" on unit 11d2d635596d498df7ec28a0154feb52393563dc3495ee5964e859bc1b03cae7 ==
/home/application/current
== output for "pwd" on unit 2373cef432266da30dd827d2bc6c929f3600c05ecfd8c1c77cd989fa789e715c ==
/home/application/current
== output for "pwd" on unit 232991a63c4cccb52f02ba6d740a1bb1e533707dbc3d2dd114ac3c96e727a8ea ==
/home/application/current
actually is hard to detect who is writing what, for example, a "tsuru run 'ls'" will be hard to read, you don't know which files are on which units.
What do you means is include the unit name? if yes, I'm +1 with this issue.
there is an issue (#375) to add information about the unit in tsuru log output.
Yes, unit name or container id as above sample output.
In docker provisioner the unit name is the container id.
This could be a flag of RunArgs: https://github.com/tsuru/tsuru/blob/main/provision/provision.go#L217, after that kubernetes provisioner takes care of change the stream of this command.
This issue is 350 days old, marking as stale! cc: @guestisp