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

Improve user experience : logs are useless #100

Open
johnkrovitch opened this issue Dec 9, 2019 · 1 comment
Open

Improve user experience : logs are useless #100

johnkrovitch opened this issue Dec 9, 2019 · 1 comment

Comments

@johnkrovitch
Copy link

Description

When running a task with the process bundle, all "classic" output of Symfony are disabled to display a "log" trace which can not be read.

Those logs are useless. A computer can not read them neither an human can.

It will be great to have feedback like in a "normal" Symfony task, and it will be great if this output can be injected to the task to allow them making their own display.

var_dump or print_r should not be used to display data in the console. The normal Symfony output should be used, and each data display should have only one line, and should not be spread over two lines, like in all other Symfony commands.

@shavounet
Copy link
Contributor

Ideas :

  • add information about removing the cleverage_process channel from the console output
  • add events on task resolution / loop iterations & find a way to allow to plug the Console OutputInterface into them (allowing custom output code without interfering with the process definition)
  • allow to plugin https://psysh.org/ without changing process definition ?

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

No branches or pull requests

2 participants