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

Error when logging with a logger that has no writeExtra method #37453

Closed
phil-davis opened this issue May 27, 2020 · 0 comments · Fixed by #37454
Closed

Error when logging with a logger that has no writeExtra method #37453

phil-davis opened this issue May 27, 2020 · 0 comments · Fixed by #37454
Assignees
Labels

Comments

@phil-davis
Copy link
Contributor

Steps to reproduce

  1. use some logger that does not implement a writeExtra method
  2. have events happen that provide extra fields that could be logged

Expected behaviour

The extra fields are ignored, and the basic log message/data is logged.

Actual behaviour

call_user_func() expects parameter 1 to be a valid callback, class 'OC\Log\Syslog' does not have a method 'writeExtra' at /var/www/html/owncloud/lib/private/Log.php#398

Server configuration

Current GitHub master, or 10.4.1 (or any "recent" release, I expect)

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

Successfully merging a pull request may close this issue.

1 participant