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
The text was updated successfully, but these errors were encountered:
cbosdo
changed the title
enhancement: Add logs subcommand for mgrctl to better follow logs inside container
Add logs subcommand for mgrctl to better follow logs inside container
Jul 11, 2024
I wonder if we should have parameters for each log file or subcommands: mgrctl logs --taskomatic vs mgrctl logs taskomatic... The advantage of parameters is that this leaves the door opened to getting the logs of multiple files at a time. I don't know how easy to implement that would be though.
But for reposync logs in /var/log/rhn/reposync/.log it would be good to let user specify a regex input. e.g.
mgrctl logs --reposync --files "^opensuse." -f
I suppose the log directory paths are static or can be overriden by runtime env on the host.
It would be great if a subcommand e.g. logs could be added so user can use mgrctl logs to directly monitor logs inside containers.
-f should stand for "--follow"
It is quite inconvenient to type out the long directory path inside container e.g.
THANKS
The text was updated successfully, but these errors were encountered: