-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Phalcon Logger Interpolation does not work #16427
Comments
The interpolation works just fine. Have a look at this test: and this test: However The documentation is incorrect since it shows the use of the The logger interpolator placeholders are Apologies for that, I am fixing this now. |
Right now there is no way that the placeholders for the interpolation in Logger/Formatter can be set. I will add that later on and let you guys know. For now if you use Please check and let me know so that we can close this if all is OK. |
I have updated the docs with the correct code. |
I can confirm that using |
Thank you Giorgaki. Closing this one and will work on 16430 shortly |
Discussed in https://github.com/orgs/phalcon/discussions/16425
Originally posted by gnikolopoulos September 7, 2023
Hi all,
I am using the code from here in order to inject additional, dynamic data into my logging process while calling an external API, but I only get the placeholders themselves instead of the context values.
I am using Phalcon 5.2.1 and even tried the code on the example as is, to no avail.
The text was updated successfully, but these errors were encountered: