mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Add env var check for update
This commit is contained in:
		@@ -37,6 +37,7 @@ func NewLogger(bufLen int64, mode, config string) {
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// FIXME: use same log level as other loggers.
 | 
			
		||||
func NewGitLogger(logPath string) {
 | 
			
		||||
	os.MkdirAll(path.Dir(logPath), os.ModePerm)
 | 
			
		||||
	GitLogger = newLogger(0)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user