normal logging mode
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Veraltet
- Tech-Stack
- python
- Bereich
- observability
Rechercherichtung
The issue names no source files. Start from the log lines it quotes: the aiomonitor startup message with ANSI color codes and the table-style transport output, then find where Faust sets up its logger and formatter. An earlier --no-color option was removed, so check its history too. Done means a plain, uncolored, unformatted log mode that can be turned on, with a test confirming the output has no escape codes or table layout.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Checklist
- I have included information about relevant versions
- I have verified that the issue persists when using the
masterbranch of Faust.
Steps to reproduce
Expected behavior
Actual behavior
Full traceback
Versions
- Python version: 3.11.8
- Faust version: 0.11.0
- Operating system: Alpine Linux 3.19.1
- Kafka version: NA
- RocksDB version (if applicable): NA
Hello faust team.
I would like to ask for "normal" logging mode.
Currently the log messages are trying to look fancy, formatted into tables, colored, ... etc.
This looks good in console, but when you redirect logging into other logging facilty (e.g. rsyslog in docker) then it is very hard to read messages and find some usefull data in log stream.
E.g.
...
2024-04-10T16:11:48Z docker-desktop my_faust_app 191 my_faust_app - .(0l.(BƒaµS†v0.11.0.(0wqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk.(B
2024-04-10T16:11:40Z docker-desktop my_faust_app 191 my_faust_app - [2024-04-10 16:11:40,894] [10] [INFO] .[37mStarting aiomonitor at telnet://127.0.0.1:50101 and http://127.0.0.1:20102 .[0m
2024-04-10T16:11:48Z docker-desktop my_faust_app 191 my_faust_app - .(0x.(B transport .(0x.(B [URL(<>), URL(<>)...] .(0x.(B
...
In some previous versions there was --no-color command line option, but it has gone.
Is it possible to add "normal" logging mode without any coloring and special formatting, better suitable for logging systems ?
I think the faust streaming apps are usually launched in background or packed into containers and such fancy logging is not enjoyed by users.
- Vorherrschende Sprache
- Python
- Sterne
- 1.9k
- Forks
- 205
- Ø Merge
- 2 Std. 2 Min.
- Gemergte PRs (30 T.)
- 1
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus faust-streaming/faust
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
faust-streaming/faust#804 ·
-
scripts/install script forces use of ./venv virtualenv, impossible to use with virtualenvwrapperOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
faust-streaming/faust#28 · 1 Kommentar ·
-
[BUG] SASL PLAINTEXT producer initialization fails : missing sasl_plain_username/passwordEvtl. vergeben @wbarnha hat das vor 56 Tagen übernommen. Offen
faust-streaming/faust#794 · 2 Kommentare · 1 Reaktion · 2 zugewiesene Personen ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 18/100
faust-streaming/faust#670 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 18/100
faust-streaming/faust#666 ·
Alle Issues in faust-streaming/faust
Ähnliche Issues
-
flaky: test_fire_returns_thread_per_http_entry_on_head waits 5 s per dispatch worker on busy shardsOffenstatus/accepted type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
microsoft/apm#5309 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug vector-store
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
EverMind-AI/Raven#1413 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Tests: parallel pyinstallcheck runs oversubscribe the machine through nested TBB and BLAS poolsEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 86/100
ACCESS-NRI/containerised-environments-infra#143 ·
Maintainer antworten meist innerhalb von 2 Tagen