mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-22 15:13:59 -06:00
Fixed logs generated by shlink during API tests
This commit is contained in:
parent
9feb72235a
commit
4439685403
@ -33,7 +33,7 @@
|
||||
"laminas/laminas-stdlib": "^3.2",
|
||||
"lcobucci/jwt": "^4.0",
|
||||
"league/uri": "^6.2",
|
||||
"lstrojny/functional-php": "^1.15",
|
||||
"lstrojny/functional-php": "^1.17",
|
||||
"mezzio/mezzio": "^3.3",
|
||||
"mezzio/mezzio-fastroute": "^3.1",
|
||||
"mezzio/mezzio-problem-details": "^1.3",
|
||||
|
@ -9,7 +9,7 @@ use Laminas\ConfigAggregator\ConfigAggregator;
|
||||
use Laminas\Diactoros\Response\EmptyResponse;
|
||||
use Laminas\ServiceManager\Factory\InvokableFactory;
|
||||
use Laminas\Stdlib\Glob;
|
||||
use Monolog\Handler\RotatingFileHandler;
|
||||
use Monolog\Handler\StreamHandler;
|
||||
use Monolog\Logger;
|
||||
use PDO;
|
||||
use PHPUnit\Runner\Version;
|
||||
@ -169,9 +169,10 @@ return [
|
||||
'Shlink' => [
|
||||
'handlers' => [
|
||||
'shlink_handler' => [
|
||||
'name' => StreamHandler::class,
|
||||
'params' => [
|
||||
'level' => Logger::DEBUG,
|
||||
'filename' => 'data/log/api-tests/shlink_log.log',
|
||||
'stream' => 'data/log/api-tests/shlink.log',
|
||||
],
|
||||
],
|
||||
],
|
||||
@ -179,10 +180,10 @@ return [
|
||||
'Access' => [
|
||||
'handlers' => [
|
||||
'access_handler' => [
|
||||
'name' => RotatingFileHandler::class,
|
||||
'name' => StreamHandler::class,
|
||||
'params' => [
|
||||
'level' => Logger::DEBUG,
|
||||
'filename' => 'data/log/api-tests/access_log.log',
|
||||
'stream' => 'data/log/api-tests/access.log',
|
||||
],
|
||||
],
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user