-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
26 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
```ini | ||
[SeasLog] | ||
extension = seaslog.so | ||
|
||
;默认log根目录 | ||
seaslog.default_basepath = "/var/log/www" | ||
|
||
; 日志格式模板 默认"%T | %L | %P | %Q | %t | %M" | ||
; 进程ID | DateTime | Level | 当前内存使用峰值量 | Message 日志信息 | ||
seaslog.default_template = "%P | %T | %L | %u | %M" | ||
|
||
;是否启用buffer 1是 0否(默认) | ||
seaslog.use_buffer = 1 | ||
|
||
;buffer中缓冲数量 默认0(不使用buffer_size) | ||
seaslog.buffer_size = 100 | ||
``` |