Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds ability to view pod logs #1122

Merged
merged 2 commits into from
Jan 9, 2023
Merged

Commits on Jan 5, 2023

  1. feat: adds ability to view pod logs

    ### What does this PR do?
    - When viewing a pod, logs will show all containers log outputs with the
      container name appended to the beginning
    - By default, when clicking on Pod details, it will now show the pod
      logs
    
    ### Screenshot/screencast of this PR
    
    <!-- Please include a screenshot or a screencast explaining what is doing this PR -->
    
    ### What issues does this PR fix or reference?
    
    <!-- Please include any related issue from Podman Desktop repository (or from another issue tracker).
    -->
    
    Fixes 1/2 of containers#391
    
    The other part (filter based on container name) will have to mock up
    UX/UI before implementation
    
    ### How to test this PR?
    
    <!-- Please explain steps to reproduce -->
    
    1. Run two containers that echo the date: `podman run -d alpine sh -c
    "while true; do date +%s; sleep 2; done"`
    2. Podify it within Podman Desktop
    3. View the Pod details
    
    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    25f5273 View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2023

  1. Use more readable colours instead

    Signed-off-by: Charlie Drage <charlie@charliedrage.com>
    cdrage committed Jan 6, 2023
    Configuration menu
    Copy the full SHA
    6b299a6 View commit details
    Browse the repository at this point in the history