Skip to content

Commit

Permalink
fix: configure audit logger
Browse files Browse the repository at this point in the history
Closes #3021
  • Loading branch information
zepatrik committed Mar 4, 2022
1 parent b17b474 commit 1a46ac6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions driver/registry_base.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ func (m *RegistryBase) Logger() *logrusx.Logger {
func (m *RegistryBase) AuditLogger() *logrusx.Logger {
if m.al == nil {
m.al = logrusx.NewAudit("Ory Hydra", m.BuildVersion())
m.al.UseConfig(m.C.Source())
}
return m.al
}
Expand Down

0 comments on commit 1a46ac6

Please sign in to comment.