Skip to content

Commit

Permalink
refactor: remove logger initialization from server setup to avoid it …
Browse files Browse the repository at this point in the history
…beind done twice
  • Loading branch information
tphakala committed Dec 19, 2024
1 parent 818fcf6 commit f873f64
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/httpcontroller/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ func New(settings *conf.Settings, dataStore datastore.Interface, birdImageCache
// Configure an IP extractor
s.Echo.IPExtractor = echo.ExtractIPFromXFFHeader()

s.initLogger()

// Initialize SunCalc for calculating sun event times
s.SunCalc = suncalc.NewSunCalc(settings.BirdNET.Latitude, settings.BirdNET.Longitude)

Expand Down

0 comments on commit f873f64

Please sign in to comment.