LOG formatting on 2.12.1
See original GitHub issueI’m submitting a …
- bug report
- feature request
- support request => Please do not submit support request here, see note at the top of this template.
What is the current behavior?
I’m migrating from python 2.7 to python 3.7
After running python -m pytest ....
and generating allure report I’ve seen that the logs contain bash formatting
[32mINFO [0m test_X:test_X.py:70 CIAO CIAO
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
LOGGER.info("CIAO CIAO")
What is the expected behavior?
I would like that the log appears as:
INFO test_X:test_X.py:70 CIAO CIAO
At the moment I modified python -m pytest .... -color=no
in order to get the expected output
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
$ pip freeze | grep -E ‘pytest|allure’ allure-pytest==2.8.0 allure-python-commons==2.8.0 pytest==5.1.1
Allure version: allure-2.12.1 Python 3.7.4
Other information
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (4 by maintainers)
Top Results From Across the Web
Log4j 2.12.2 - Apache Logging Services
The Log4j API provides many more logging methods than SLF4J. 4. In addition to the “parameterized logging” format supported by SLF4J, the Log4j...
Read more >Log Formats | CockroachDB Docs
Log Formats · Format crdb-v1. This is the legacy file format used from CockroachDB v1. · Format crdb-v1-count. This is an alternative, backward-compatible...
Read more >logging-format-interpolation / W1202 - Pylint 2.16.0-dev ...
Used when a logging statement has a call form of "logging.<logging method>(format_string.format(format_args...))". Use another type of string formatting instead ...
Read more >What is Apache Log4J Vulnerability and How to Prevent It?
Log4j Java library's role is to log information that helps applications run ... Apache Log4j2 2.0 through 2.12.1 and 2.13.0 through 2.15.0 JNDI...
Read more >3 Configuring WebLogic Logging Services - Oracle Help Center
You can configure the logging output to receive log messages for specific events in Oracle ... Log4j defines layouts to control the format...
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
I upgraded because the issue was solved on latest release. The hint was about controlling the output. You can also remove color from pytest commandline
This is still not working for me. Please help.