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

tracker debug fixes in CLI command + extra logs for Lock #15197

Merged
merged 5 commits into from Dec 9, 2019
Merged

Conversation

diosmosis
Copy link
Member

@diosmosis diosmosis commented Nov 27, 2019

Fix tracker debug when used in a CLI command (like queuedtracking:process).

@diosmosis diosmosis added the Needs Review PRs that need a code review label Nov 27, 2019
@diosmosis diosmosis added this to the 3.13.0 milestone Nov 27, 2019
@mattab mattab modified the milestones: 3.13.0, 3.13.1 Nov 27, 2019
@diosmosis diosmosis changed the title Add a couple more debug statments to Lock class. tracker debug fixes in CLI command + extra logs for Lock Nov 27, 2019
@@ -10,6 +10,14 @@ function isTrackerDebugEnabled(ContainerInterface $c)

return array(

'ini.log.log_writers' => DI\decorate(function ($previous, ContainerInterface $c) {
if (isTrackerDebugEnabled($c)) {
$previous[] = 'screen';
Copy link
Member

Choose a reason for hiding this comment

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

Do we really always want to add logging to screen? I reckon many users would have an interest to only log this to file but not screen. Maybe we shouldn't force it? If someone can enable tracker debug in the config file, then they can maybe also add the logging to screen if needed?

Copy link
Member

Choose a reason for hiding this comment

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

ping @diosmosis

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is just for CLI processes, so I'll just add a check for whether in the CLI command as well.

@tsteur tsteur merged commit 89007f2 into 3.x-dev Dec 9, 2019
@tsteur tsteur deleted the lock-debug branch December 9, 2019 23:52
jonasgrilleres pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 22, 2020
jbuget pushed a commit to 1024pix/pix-analytics that referenced this pull request Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants