Azure / Azure/azure-cli

Container Apps logs in follow mode exit after not receiving new logs for a few minutes

Open
#33,487 2 comments 0 reactions 0 assignees View on GitHub
act-observability-squad Auto-Assign bug ContainerApp customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

Similar to https://github.com/Azure/azure-cli/issues/28267

I am following container logs like so

az containerapp logs show --n cmlinux -g cmlinux --follow --tail 30

The container is intentionally quiet in logging, after approximately 3 minutes the log command just stops

### Related command

az containerapp logs show --n cmlinux -g cmlinux --follow --tail 30

### Errors

N/A

### Issue script & Debug output

az containerapp logs show --n cmlinux -g cmlinux --follow --tail 30

{"TimeStamp": "2026-06-03T04:45:59.2214149+00:00", "Log": "F 013c:fixme:file:NtFsControlFile FSCTL_PIPE_IMPERSONATE: impersonating self"}
{"TimeStamp": "2026-06-03T04:48:25.34888", "Log": "No logs since last 60 seconds"}
{"TimeStamp": "2026-06-03T04:49:25.74618", "Log": "No logs since last 60 seconds"}
{"TimeStamp": "2026-06-03T04:50:26.18445", "Log": "No logs since last 60 seconds"}
{"TimeStamp": "2026-06-03T04:51:26.71221", "Log": "No logs since last 60 seconds"}
sysadmin@nuc:~$

### Expected behavior

Should tail forever

### Environment Summary

azure-cli 2.87.0

Can also reproduce it in browser

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.