Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dkarlovi
Copy link
Contributor

@dkarlovi dkarlovi commented Mar 11, 2025

Q A
Branch? 7.4
Bug fix? no
New feature? yes
Deprecations? no
Issues Fix #58715
License MIT

See #58715 for example.

@carsonbot
Copy link

It looks like you unchecked the "Allow edits from maintainer" box. That is fine, but please note that if you have multiple commits, you'll need to squash your commits into one before this can be merged. Or, you can check the "Allow edits from maintainers" box and the maintainer can squash for you.

Cheers!

Carsonbot

@dkarlovi dkarlovi force-pushed the feat/interactive-logger branch from 4ef2980 to 5ac3f1d Compare March 11, 2025 17:22
@dkarlovi
Copy link
Contributor Author

@ro0NL this is offtopic for this PR, feel free to discuss in #58715.

@dkarlovi
Copy link
Contributor Author

but OK. please preserve BC at all cost.

Yes, this is expected to be 100% BC, it's opt-in for 7.x for sure, maybe it makes sense to change that for 8.x, but that's not up to me.

@dkarlovi
Copy link
Contributor Author

Config part symfony/monolog-bundle#504

@dkarlovi dkarlovi requested a review from fabpot March 31, 2025 14:40
@fabpot fabpot removed this from the 7.3 milestone May 26, 2025
Copy link
Member

@GromNaN GromNaN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the need behind this feature, and it seems like an interesting solution when you know how to configure it properly: with the console handler before the other handlers that write to standard output.

I think it's necessary to review the conditions and tests. And rebase the branch.

@dkarlovi dkarlovi force-pushed the feat/interactive-logger branch from f7ca725 to 6afe9bb Compare September 23, 2025 09:43
@fabpot
Copy link
Member

fabpot commented Sep 24, 2025

Thank you @dkarlovi.

fabpot added a commit that referenced this pull request Sep 24, 2025
…being interactive or not (dkarlovi)

This PR was squashed before being merged into the 7.4 branch.

Discussion
----------

[MonologBridge] Add ability to react to console input being interactive or not

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Issues        | Fix #58715
| License       | MIT

See #58715 for example.

Commits
-------

ace9054 [MonologBridge] Add ability to react to console input being interactive or not
@fabpot fabpot closed this Sep 24, 2025
GromNaN added a commit to symfony/monolog-bundle that referenced this pull request Sep 24, 2025
This PR was squashed before being merged into the 3.x branch.

Discussion
----------

feat: console.interactive_only flag

Note: needs symfony/symfony#59955

Closes symfony/symfony#58715

Commits
-------

35a942f feat: console.interactive_only flag
This was referenced Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Console] allow the console logging handler to work and prevent propagation only when interactive

6 participants