Skip to content

Commit

Permalink
One more
Browse files Browse the repository at this point in the history
  • Loading branch information
irees committed Jan 6, 2025
1 parent 6f07f42 commit de314b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/tlserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func (cmd *ServerCommand) Run() error {
// Start server
timeOut := time.Duration(cmd.Timeout) * time.Second
addr := fmt.Sprintf("%s:%s", "0.0.0.0", cmd.Port)
log.Infof("Listening on: %s", addr)
log.For(ctx).Info().Msgf("Listening on: %s", addr)
srv := &http.Server{
Handler: http.TimeoutHandler(root, timeOut, "timeout"),
Addr: addr,
Expand Down
2 changes: 1 addition & 1 deletion finders/azchecker/checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func NewCheckerFromConfig(ctx context.Context, cfg CheckerConfig, db sqlx.Ext) (
for _, tk := range cfg.FGALoadTestData {
ltk, found, err := ekLookup(db, tk)
if !found {
log.Info().Msgf("warning, tuple entities not found in database: %s", tk.String())
log.For(ctx).Info().Msgf("warning, tuple entities not found in database: %s", tk.String())
}
if err != nil {
return nil, err
Expand Down

0 comments on commit de314b1

Please sign in to comment.