mirror of
				https://github.com/nabbar/golib.git
				synced 2025-10-31 19:12:35 +08:00 
			
		
		
		
	Config Component :
- Change reloading component method : try to reload all component and store errors, report list of errors but don't break the reloading process Package Logger : - Fix bug with entry logger filtering Package Viper: - reword message log before reloading config file (watchFS) - add message log after reloading config file (watchFS) Package Status : - Fix DATA Race with status/info - Add component key into log error message for health - Add component key into function to use it into info (name) - Reword health message : no OK/KO (still into status info), add error message reporting Package httpserver : - status info : apply update status component, use key in name - status info : optimize code Package Request : - Fix error in url path operation - Status info : optimize code - Status info : apply update component, add endpoint hostname with name Package Static : - apply status component update Other : - Bump dependencies
This commit is contained in:
		| @@ -163,11 +163,11 @@ func (o *_HookSyslog) Fire(entry *logrus.Entry) error { | ||||
| 	ent := entry.Dup() | ||||
| 	ent.Level = entry.Level | ||||
|  | ||||
| 	if !o.isStack() { | ||||
| 	if o.isStack() { | ||||
| 		ent.Data = o.filterKey(ent.Data, FieldStack) | ||||
| 	} | ||||
|  | ||||
| 	if !o.isTimeStamp() { | ||||
| 	if o.isTimeStamp() { | ||||
| 		ent.Data = o.filterKey(ent.Data, FieldTime) | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nabbar
					nabbar