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:
nabbar
2022-11-17 16:54:51 +01:00
parent eb8097fad8
commit 52f0d6fa04
13 changed files with 131 additions and 74 deletions

View File

@@ -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)
}