查看日志

tail -f runtime/logs/hyperf.log

日志级别设置

在config/config.php,注释掉不需要的日志级别即可

 StdoutLoggerInterface::class => [
        'log_level' => [
            LogLevel::ALERT,
            LogLevel::CRITICAL,
            // LogLevel::DEBUG,
            LogLevel::EMERGENCY,
            LogLevel::ERROR,
            // LogLevel::INFO,
            // LogLevel::NOTICE,
            // LogLevel::WARNING,
        ],
    ],