diff --git a/src/GloERSClientFactory.php b/src/GloERSClientFactory.php index 53fcc71..11ba0d7 100644 --- a/src/GloERSClientFactory.php +++ b/src/GloERSClientFactory.php @@ -22,7 +22,7 @@ public static function factory( string $wsdl, LoggerInterface $logger = null ): GloERSClient { // enable logger only on local - if (getenv('APP_ENV') == 'local'){ + if (getenv('APP_ENV') == 'local' || getenv('APP_ENV') == 'testing'){ if ($logger === null) { $logger = new Logger('http', [new RotatingFileHandler('logs/mono.log')]);