Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

normal logging mode #623

Open
2 tasks done
lubomirmatus opened this issue Apr 10, 2024 · 0 comments
Open
2 tasks done

normal logging mode #623

lubomirmatus opened this issue Apr 10, 2024 · 0 comments

Comments

@lubomirmatus
Copy link

Checklist

  • I have included information about relevant versions
  • I have verified that the issue persists when using the master branch 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant