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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] Magento CRON logs to stdout #25

Open
gitrequests opened this issue Nov 3, 2023 · 0 comments
Open

[FEAT] Magento CRON logs to stdout #25

gitrequests opened this issue Nov 3, 2023 · 0 comments
Assignees

Comments

@gitrequests
Copy link

馃挕 Feature request

Magento CRON logs to stdout

As written in the documentation here from version Magento 2.3.1 CRON logs are sent to a separate file (<install-directory>/var/log/cron.log). In the Docker environment, they can also be sent to standard output.

I found that the cron log configuration is available in <install-directory>/vendor/magento/module-cron/etc/di.xml.
Here are two virtual types: Magento\Cron\Model\VirtualLogger and Magento\Cron\Model\VirtualLoggerHandler.

Environment

magento2-stdlogging version: 2.0.0
Magento version: 2.4.6 
PHP Version version: 8.2.4 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants