Skip to content

zekang/xlog

Repository files navigation

xlog

php logger

[xlog]

xlog.mail_smtp = "smtp.126.com"

xlog.mail_port = 25

xlog.mail_from = "xxxxx@126.com"

xlog.mail_from_name="xxxxx@126.com"

xlog.mail_username = "xxxxx@126.com"

xlog.mail_password = "xxxxx@"

xlog.mail_to = "xxxxx@qq.com"

xlog.mail_ssl = 0

xlog.mail_enable = 0

xlog.mail_level = 8

xlog.mail_strategy_enable = 1

xlog.mail_strategy_log_path = d:\tmp\mail

xlog.mail_strategy_min = 10

xlog.mail_strategy_max = 50

xlog.mail_strategy_avg = 10

xlog.trace_error = 1

xlog.trace_stack = 0

xlog.trace_exception = 1

xlog.file_enable = 0

xlog.redis_enable = 1

xlog.redis_host = "127.0.0.1"

xlog.redis_port = 6379

xlog.redis_auth = ""

xlog.redis_db = 0

xlog.buffer = 100

xlog.buffer_enable = 1

xlog.default_path = d:\tmp

xlog.default_application = project

xlog.host = localhost

xlog.redis_retry_interval = 60

xlog.mail_retry_interval = 60

xlog.level = 0

xlog.rotate_enable =1

xlog.rotate_max = 20

xlog.rotate_size = 15