Sfoglia il codice sorgente

Se agrega tenancy en el log

Guillermo Espinoza 7 anni fa
parent
commit
14c6dbbc36
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Services/TaskLoggerService.php

+ 1 - 0
Services/TaskLoggerService.php

@@ -52,6 +52,7 @@ class TaskLoggerService implements ConsumerInterface
                 $this->serviceContainer->get($monologLoggerId)->info($output['output'], [
                     'deviceType' => $msgBody['entityClass'],
                     'deviceId' => $msgBody['entityId'],
+                    'tenancyId' => $this->serviceContainer->get('base_tenancy.tenancy_service')->getTenancyIdCurrent(),
                 ]);
             }