File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
src/config/plugin/webman/redis-queue Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 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+ ];
You can’t perform that action at this time.
0 commit comments