Wrong formatting of ouputs from management commands
See original GitHub issueIf I do for e.g. sls wsgi manage local -c "check --list-tags"
, the output is not printed in seperate lines but as follows in one line: "admin\ncaches\ndatabase\nmodels\nstaticfiles\ntemplates\nurls\n"
.
Is this OS related, as your docs suggests the right format? I am using docker with FROM python:3.6-stretch
.
Any idea?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Addressing the Format challenges in PowerShell · Issue #10463
Producing output formatted in a specific way from a command is easy ... (e.g. $Error for errors) where you don't want the same...
Read more >19923 (traceback handling in management commands)
The default behavior for management commands to suppress tracebacks, ... Any other error raised would always be formatted and displayed with it's traceback....
Read more >Formatting, aliases, providers, comparison - PowerShell
This chapter introduces the concepts of output formatting, command aliases, providers, and comparison operations.
Read more >Formatting tricks for the Linux date command | Enable Sysadmin
The real customization of the date command occurs when you start adding format controls. The controls can order output fields, manage ...
Read more >Setting the AWS CLI output format
Control the format of the output from the AWS Command Line Interface (AWS CLI). ... IsTruncated: false Users: - Arn: arn:aws:iam::123456789012:user/Admin ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding the following to the Dockerfile solved the problem:
Finally had a chance to look into why your output was different when running
sls wsgi manage local
versusmanage.py
directly. AFAICT, it’s because the WSGI logging configuration differs from the regular Django logging configuration.