chore(log): 更新日志配置和路径设置

- 修改日志文件夹名称从"log"到"logs"
- 更新IDEA缓存中的文件修改时间戳
- 调整日志文件路径配置以使用新的目录结构
main v1.0.1008
black1552 2026-03-02 10:54:35 +08:00
parent d958f4c059
commit 2a7ab5f216
2 changed files with 2 additions and 2 deletions

View File

@ -241,7 +241,7 @@
<entry key="file://$PROJECT_DIR$/log/log.go">
<value>
<ScannedPath>
<option name="lastModified" value="1770011076335" />
<option name="lastModified" value="1772420020488" />
</ScannedPath>
</value>
</entry>

View File

@ -19,7 +19,7 @@ var (
)
func init() {
logPath = gfile.Join(gfile.Pwd(), "log")
logPath = gfile.Join(gfile.Pwd(), "logs")
filePath := gfile.Join(logPath, fmt.Sprintf("log-%s.log", gtime.Date()))
fileLogger := &lumberjack.Logger{
Filename: filePath,