[PS V9] Psr\Log\LoggerInterface interferes with SafeLoggerTrait Psr\Log\LoggerInterface while clearing the cache #1434
ChillCode
started this conversation in
Bug reports
Replies: 2 comments
|
Hello @ChillCode sorry for the late answer, the end of year 2025 has been extremely busy so I did not check GitHub discussions for a long time. So if I understand correctly
Can you clarify what is "uninstall the service definition" ? |
0 replies
|
I deleted/commented this part just to test and logs appeared again in BO, but doing so ps_checkout will stop using it's own log, did not investigate further: ps_checkout/ps9/config/shared/logger.yml Lines 31 to 34 in 92e47c0 Did not check if this affected other modules or parts of the code, but I guess is just trivial. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Installing the only official PrestaShop 9.0.2 release the logs don't show cache clear actions.
The issue resides in
ps_checkoutlogger.yml definingPsr\Log\LoggerInterfacethat at same time is used bysrc/Adapter/Cache/Clearer/SafeLoggerTrait.phpwhen clearing the cache.Messages are logged in var/logs/ps_checkout-*
After uninstalling the module or the service definition the cache actions are logged in the correct place again:
All reactions