cleatsquad / magento2-logstream
A Magento 2 module to redirect all logs to StdOut, ideal for dockerized environments.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.1
- magento/framework: *
- magento/module-store: *
- monolog/monolog: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.18
- phpunit/phpunit: ^9
This package is auto-updated.
Last update: 2024-11-12 10:21:21 UTC
README
Magento Version Support
Purpose
CleatSquad_LogStream
is a Magento 2 module designed to redirect all Magento logs to StdOut, which is particularly useful in dockerized environments. This approach facilitates the aggregation of logs into external systems without the need to manage Magento-specific log files and configurations.
Getting Started
This module is intended to be installed via Composer. To add it to your Magento 2 project, follow these steps:
Installation
-
Download the package
composer require cleatsquad/magento2-logstream
-
Enable the module
./bin/magento module:enable CleatSquad_LogStream ./bin/magento setup:upgrade
Usage
Once installed, the module will automatically redirect all Magento logs to StdOut without any additional configuration.
Configuration
To configure the log level for the CleatSquad Magento2 LogStream module, follow these steps in the Magento admin interface:
Setting the Log Level
- Navigate to
Stores > Configuration
in the admin panel sidebar. - Under the
General
section, find and open theLogging
group. - Select the desired log level from the
Log Level
dropdown menu.
Changes will take effect immediately after saving the configuration.
Upgrading
To upgrade the module to the latest version, run:
composer update cleatsquad/magento2-logstream ./bin/magento setup:upgrade
Follow
For the latest updates and new features, follow our GitHub repository: cleatsquad/magento2-logstream.
Contributing
Contributions to CleatSquad_LogStream
are always welcome. You can contribute in different ways:
- Report Issues: Report bugs and suggest new features.
- Fix Bugs: Submit pull requests with bug fixes.
- Add Features: Develop new features and submit them as pull requests.
- Improve Documentation: Help new users by improving or translating the documentation.
Support
If you need help or have a question, you can:
- Open an issue through GitHub for bug reports and feature requests.
- Check the Magento Community Forums for general questions and support on Magento.
- Check on Magento Stack Exchange for general programming questions.
Authors
- Mohamed EL Mrabet - Initial work - mimou78
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Magento Community
- Anyone who contributes to the open-source community