Azure / Azure/azure-cli

container logs are truncated

Open
#5,163 11 comments 0 reactions 1 assignee Claimed by @samkreter View on GitHub
act-observability-squad Container Container Instances customer-reported Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

---

### Environment summary

Ubuntu 16.04 64-bit installed with apt
az version 2.0.23

I have a CLI program that outputs JSON to stdout.
I created a container that outputs over 36000 characters of JSON onto a single line
When I run `az container logs -g my-rg -n my-cg --container-name my-container`
It only returns the last ~2200 characters.
I ran the same container in ACS and verified that it wasn't anything wrong with the container

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.