Thinkphp日志路径#
常见TP版本:3.2.3和5.0.24
TP3.2.3
/Runtime/Logs/Home/21_01_01.log
/Application/Runtime/Logs/Admin/21_01_01.log
TP5.0.24
/Runtime/Logs/202101/01.log
/Application/Runtime/Logs/Home/21_01_01.log
或者是
/Application/Runtime/Logs/index/21_01_01.log
Application可以换成App,注意大小写,默认首字母大写
日期组合需要根据实际情况来定,有些开发人员会把日期定成21-01-01或者是21/01/01,需要根据实际情况做相应变化。