Skip to content

Commit 303d995

Browse files
authored
Add files via upload
1 parent beff088 commit 303d995

File tree

1 file changed

+32
-0
lines changed
  • src/config/plugin/webman/redis-queue

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<?php
2+
/**
3+
* This file is part of webman.
4+
*
5+
* Licensed under The MIT License
6+
* For full copyright and license information, please see the MIT-LICENSE.txt
7+
* Redistributions of files must retain the above copyright notice.
8+
*
9+
* @author walkor<walkor@workerman.net>
10+
* @copyright walkor<walkor@workerman.net>
11+
* @link http://www.workerman.net/
12+
* @license http://www.opensource.org/licenses/mit-license.php MIT License
13+
*/
14+
15+
return [
16+
'default' => [
17+
'handlers' => [
18+
[
19+
'class' => Monolog\Handler\RotatingFileHandler::class,
20+
'constructor' => [
21+
runtime_path() . '/logs/redis-queue/queue.log',
22+
7, //$maxFiles
23+
Monolog\Logger::DEBUG,
24+
],
25+
'formatter' => [
26+
'class' => Monolog\Formatter\LineFormatter::class,
27+
'constructor' => [null, 'Y-m-d H:i:s', true],
28+
],
29+
]
30+
],
31+
]
32+
];

0 commit comments

Comments
 (0)