dravencms/logging

DravenCMS logging

Maintainers

Package info

github.com/dravencms/logging

Type:dravencms-package

pkg:composer/dravencms/logging

Transparency log

Statistics

Installs: 187

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

0.0.4 2022-02-03 13:21 UTC

This package is auto-updated.

Last update: 2026-08-24 22:38:56 UTC


README

Default Monolog integration for DravenCMS applications, provided through Contributte Monolog.

Installation

composer require dravencms/logging

The bundled configuration creates a default channel with a rotating file handler:

  • Log file: %appDir%/../log/syslog.log
  • Retention: 30 rotated files
  • Minimum level: WARNING
  • Process, memory, web-request, and call-site processors

The Tracy forwarding hook is disabled by default.

Customization

Override contributte.monolog in the application configuration to add channels, change the log path or severity, or enable Tracy integration. Keep environment-specific handlers and credentials in local configuration rather than modifying the package file.

Inject a PSR-3 logger or the named Monolog channel into application services according to Contributte Monolog's DI conventions.

License

This package is licensed under the LGPL-3.0 license.