https://github.com/graycoreio/magento2-stdlogging
A drop in Magento 2 Module to pump all Magento 2 logs to StdErr instead of files.
https://github.com/graycoreio/magento2-stdlogging
docker ecommerce hacktoberfest kubernetes logging magento magento2 stderr stdout
Last synced: 6 months ago
JSON representation
A drop in Magento 2 Module to pump all Magento 2 logs to StdErr instead of files.
- Host: GitHub
- URL: https://github.com/graycoreio/magento2-stdlogging
- Owner: graycoreio
- License: mit
- Created: 2020-03-05T20:10:52.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T13:52:30.000Z (6 months ago)
- Last Synced: 2025-04-10T14:45:50.574Z (6 months ago)
- Topics: docker, ecommerce, hacktoberfest, kubernetes, logging, magento, magento2, stderr, stdout
- Language: PHP
- Homepage:
- Size: 200 KB
- Stars: 22
- Watchers: 2
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Magento 2 StdLogging
[](https://packagist.org/packages/graycore/magento2-stdlogging/stats)
[](https://packagist.org/packages/graycore/magento2-stdlogging)
[](https://github.com/graycoreio/magento2-stdlogging/blob/main/LICENSE)
[](https://github.com/graycoreio/magento2-stdlogging/actions/workflows/install.yaml)
[](https://github.com/graycoreio/magento2-stdlogging/actions/workflows/integration.yaml)
[](https://github.com/graycoreio/magento2-stdlogging/actions/workflows/unit.yaml)## Magento Version Support

## Purpose
This module is a drop in replacement to pump all Magento 2 logs to StdOut. This is especially useful when working in a dockerized environment where you want to aggregate your logs into an external system without having to know about Magento specific log files and configurations.## Getting Started
This module is intended to be installed with [composer](https://getcomposer.org/). From the root of your Magento 2 project:1. Download the package
```bash
composer require graycore/magento2-stdlogging
```
2. Enable the package```bash
./bin/magento module:enable Graycore_StdLogging
```
## Upgrading
* [Semver Policy](https://semver.org/)