go-zero
go-zero copied to clipboard
Log file size appears not changed after cat /dev/null to log files
删除项目日志文件
cat /dev/null > access.log
后,查看access.log文件大小依然是原来大小,但du -hd1查看当前目录确实已经变小了
然而先del access.log后,再restart服务,access.log就正常了
希望能支持linux下可手工清理log
This issue is stale because it has been open for 30 days with no activity.