Home  >  Article  >  Backend Development  >  log4php practical configuration

log4php practical configuration

WBOY
WBOYOriginal
2016-08-08 09:22:12994browse


 
                                                                         ;param name="conversionPattern" value="%d{Y-m-d H:i:s} %c %-5p %F %L %m%n" />
                                                         file" value="d:/logs/project-%s.log" />
; ;appender_ref ref="default" />


The above introduces the practical configuration of log4php, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn