Add plugins version to logs

[MAILPOET-4735]
This commit is contained in:
Pavel Dohnal
2022-11-23 11:34:40 +01:00
committed by Veljko V
parent 02b82c04f3
commit fd1331e602
3 changed files with 18 additions and 2 deletions

View File

@@ -82,6 +82,9 @@ class LoggerFactory {
$this->loggerInstances[$name]->pushProcessor(new MemoryUsageProcessor());
}
// Adds the plugin's versions to the log, we always want to see this
$this->loggerInstances[$name]->pushProcessor(new PluginVersionProcessor());
$this->loggerInstances[$name]->pushHandler(new LogHandler(
$this->logRepository,
$this->entityManager,