We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我的php.ini 配置如下: seaslog.default_template = "%T | %L | %I | %H | %P | %Q | %t | %M"
还有一个问题: mac 下貌似不能写入其它级别的log 只能写入 EMERGENCY 级别的错误, 我的配置是
;;记录日志级别,数字越大,根据级别记的日志越多。 ;;0-EMERGENCY 1-ALERT 2-CRITICAL 3-ERROR 4-WARNING 5-NOTICE 6-INFO 7-DEBUG 8-ALL ;;默认8(所有日志) ;; ;; 注意, 该配置项自1.7.0版本开始有变动。 ;; 在1.7.0版本之前, 该值数字越小,根据级别记的日志越多: ;; 0-all 1-debug 2-info 3-notice 4-warning 5-error 6-critical 7-alert 8-emergency ;; 1.7.0 之前的版本,该值默认为0(所有日志); seaslog.level = 8
The text was updated successfully, but these errors were encountered:
@lklkdawei 你的配置中appender为3,使用UDP端口,此时SeasLog会向127.0.0.1的514端口的UDP服务发送
Sorry, something went wrong.
@Neeke 我是否要开启UDP端口,我在生成环境就是这样部署了,也没有刻意的打开 514 的端口,日志也是可以写到远程日志服务器
如果没有刻意打开,应该是本来就没有被禁用吧
No branches or pull requests
我的php.ini 配置如下:
seaslog.default_template = "%T | %L | %I | %H | %P | %Q | %t | %M"
还有一个问题:
mac 下貌似不能写入其它级别的log 只能写入 EMERGENCY 级别的错误,
我的配置是
;;记录日志级别,数字越大,根据级别记的日志越多。
;;0-EMERGENCY 1-ALERT 2-CRITICAL 3-ERROR 4-WARNING 5-NOTICE 6-INFO 7-DEBUG 8-ALL
;;默认8(所有日志)
;;
;; 注意, 该配置项自1.7.0版本开始有变动。
;; 在1.7.0版本之前, 该值数字越小,根据级别记的日志越多:
;; 0-all 1-debug 2-info 3-notice 4-warning 5-error 6-critical 7-alert 8-emergency
;; 1.7.0 之前的版本,该值默认为0(所有日志);
seaslog.level = 8
The text was updated successfully, but these errors were encountered: