Skip to content

Conversation

@noobish
Copy link
Contributor

@noobish noobish commented Jan 15, 2018

As a sysadmin, it's super annoying to find that application X's php errors are not going to their expected location. In my case, that would be what I configured in php.ini or .htaccess.

With this, users are not forced into choosing an additional error_log file. They can choose 'php' for log_driver and let php's configured error_log function as they'd expect.

As an added bonus it also allows the error_log override in .htaccess to take effect (if configured) and route ALL log messages to the expected file (roundcube internal and php).

If you want to go overboard with overrides, you could also add a 'sapi' value with:
return error_log($line, 4);

@dereks
Copy link

dereks commented Aug 20, 2020

Thank you for submitting a Pull Request (PR) to the Roundcube GitHub project.

You are receiving this message because your PR has conflicts which need to be resolved. We are trying to catch up on our backlog of old PRs and get them merged in (where appropriate). Therefor, we request the following:

Step 1. Rebase from the latest Roundcube branch master into your PR.

git fetch upstream
git checkout your_feature_branch_name
git rebase upstream/master
git push -f origin your_feature_branch_name

Step 2. Re-test to make sure your new code still works as expected

Step 3. Comment back here once it has been tested and will merge cleanly.

Once this has been done we will treat it like a new Pull Request and consider it for acceptance.

Apologies for the inconvenience. Thank you for contributing to Roundcube!

@alecpl alecpl mentioned this pull request Oct 13, 2020
@pabzm
Copy link
Member

pabzm commented May 6, 2024

@noobish Are you still interested in this? We'd like to integrate this if you maybe could resolve the conflicts.

@noobish
Copy link
Contributor Author

noobish commented May 10, 2024

Sure, I'll work on this soon. Thanks for reaching out.

@noobish
Copy link
Contributor Author

noobish commented Nov 10, 2024

Rebased commits on top of master and tested log_driver values of 'php', 'file', and 'syslog' with success.

@pabzm pabzm requested review from alecpl and pabzm November 12, 2024 14:08
Copy link
Member

@pabzm pabzm left a comment

Choose a reason for hiding this comment

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

Looks good to me, thank you very much for your contribution!

Copy link
Contributor

@miaulalala miaulalala left a comment

Choose a reason for hiding this comment

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

🥳

@pabzm
Copy link
Member

pabzm commented Nov 20, 2024

@alecpl Without further comments I'll merge this next Wednesday (Nov 27th)

@pabzm
Copy link
Member

pabzm commented Nov 20, 2024

@noobish Would you add a line to the Changelog? (I can do it as well but would prefer it to be part of the PR.)

@pabzm
Copy link
Member

pabzm commented Nov 20, 2024

/remind me to merge in one week

@github-actions
Copy link

@pabzm set a reminder for 11/27/2024

@noobish
Copy link
Contributor Author

noobish commented Nov 21, 2024

wilco

@github-actions
Copy link

👋 @pabzm, merge

@github-actions github-actions bot removed the reminder label Nov 27, 2024
@pabzm pabzm merged commit 3577d52 into roundcube:master Dec 2, 2024
@pabzm
Copy link
Member

pabzm commented Dec 2, 2024

@noobish Thanks again for the contribution and for coming back to this after such a long time! 🎉

@pabzm pabzm added this to the 1.7-beta milestone Dec 2, 2024
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.

4 participants