daily log name dot fixed
This commit is contained in:
		
							parent
							
								
									9da4d1d847
								
							
						
					
					
						commit
						26cc040f9a
					
				| @ -218,7 +218,7 @@ func (w *fileLogWriter) doRotate(logTime time.Time) error { | |||||||
| 			_, err = os.Lstat(fName) | 			_, err = os.Lstat(fName) | ||||||
| 		} | 		} | ||||||
| 	} else { | 	} else { | ||||||
| 		fName = fmt.Sprintf("%s.%s.%s", w.fileNameOnly, logTime.Format("2006-01-02"), w.suffix) | 		fName = fmt.Sprintf("%s.%s%s", w.fileNameOnly, logTime.Format("2006-01-02"), w.suffix) | ||||||
| 		_, err = os.Lstat(fName) | 		_, err = os.Lstat(fName) | ||||||
| 	} | 	} | ||||||
| 	// return error if the last file checked still existed | 	// return error if the last file checked still existed | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user