Skip to content

Commit

Permalink
Improve log
Browse files Browse the repository at this point in the history
  • Loading branch information
puhitaku committed Mar 21, 2023
1 parent 48ae2d0 commit 08dc636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func main_() int {
s := tftp.NewServer(server.ReadHandler, server.WriteHandler)
s.SetTimeout(5 * time.Second)

log.Info().Str("host", *host).Int("port", *port).Str("directory", abs).Msg("TFTP server is up")
log.Info().Str("host", *host).Int("port", *port).Str("directory", abs).Msg("starting the TFTP server")
err = s.ListenAndServe(fmt.Sprintf("%s:%d", *host, *port))
if err != nil {
log.Error().Msgf("failed to run the server: %s", err)
Expand Down

0 comments on commit 08dc636

Please sign in to comment.