时间:2021-07-01 10:21:17 帮助过:28人阅读
log4php.threshold = WARN log4php.rootLogger = WARN, default log4php.appender.default = LoggerAppenderDailyFile log4php.appender.default.layout = LoggerLayoutPattern log4php.appender.default.layout.ConversionPattern = "%d{ISO8601} [%p] %c: %m (at %F line %L)%n" log4php.appender.default.datePattern = Ymd log4php.appender.default.file = /app/logs/products/cam/%s.log
include_once('log4php/Logger.php'); Logger::configure("product.cam.properties"); $logger = Logger::getLogger('cam');