comolo / awscwl-bundle
AWSCloudWatchLogger-Erweiterung für das Open Source CMS Contao
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:contao-bundle
Requires
- php: ^7.4 || ^8.0
- contao/core-bundle: ^4.9
- maxbanton/cwh: ^1.0 || ^2.0
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.5
- contao/manager-plugin: ^2.0
- phpunit/phpunit: ^9.5
- symfony/phpunit-bridge: ^6.1
Conflicts
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2024-11-06 19:49:35 UTC
README
The purpose of this extension is to mirror log messages to the AWS CloudWatch Logs service.
Configuration
You need to have a .env file present at your Contao's root directory. In this file you need to have these parameters set:
AWS_CLOUD_WATCH_KEY
AWS_CLOUD_WATCH_SECRET
AWS_CLOUD_WATCH_GROUP
AWS_CLOUD_WATCH_STREAM
AWS_CLOUD_WATCH_RETENTION
AWS_CLOUD_WATCH_REGION
AWS_CLOUD_WATCH_VERSION
AWS_CLOUD_WATCH_BATCH
AWS_CLOUD_WATCH_LEVEL
Example:
AWS_CLOUD_WATCH_KEY=ABCDEFGHIJKLMNOPQRST AWS_CLOUD_WATCH_SECRET=abcabcabcabcabcabcabcabcabcabcabcabcabc AWS_CLOUD_WATCH_GROUP=/my/group AWS_CLOUD_WATCH_STREAM=%kernel.environment% AWS_CLOUD_WATCH_RETENTION=60 AWS_CLOUD_WATCH_REGION=eu-central-1 AWS_CLOUD_WATCH_VERSION=latest AWS_CLOUD_WATCH_BATCH=10000 AWS_CLOUD_WATCH_LEVEL=WARNING