Skip to content

Commit

Permalink
Merge pull request #392 from Security-Onion-Solutions/jertel/log
Browse files Browse the repository at this point in the history
fix license log field uniqueness
  • Loading branch information
jertel authored Mar 22, 2024
2 parents 5edb1fe + d66b566 commit 3f60c9b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions licensing/license_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,15 +249,15 @@ func createManager(status string, available []string, licenseKey *LicenseKey, st
go startPillarMonitor()

log.WithFields(log.Fields{
"status": manager.status,
"available": manager.available,
"features": manager.licenseKey.Features,
"effective": manager.licenseKey.Effective,
"expiration": manager.licenseKey.Expiration,
"users": manager.licenseKey.Users,
"nodes": manager.licenseKey.Nodes,
"socUrl": manager.licenseKey.SocUrl,
"dataUrl": manager.licenseKey.DataUrl,
"licenseStatus": manager.status,
"licenseAvailable": manager.available,
"licenseFeatures": manager.licenseKey.Features,
"licenseEffective": manager.licenseKey.Effective,
"licenseExpiration": manager.licenseKey.Expiration,
"licenseUsers": manager.licenseKey.Users,
"licenseNodes": manager.licenseKey.Nodes,
"licenseSocUrl": manager.licenseKey.SocUrl,
"licenseDataUrl": manager.licenseKey.DataUrl,
}).Info("Initialized license manager")
}

Expand Down

0 comments on commit 3f60c9b

Please sign in to comment.