Skip to content

Commit

Permalink
fix, Copy also logging flags when cloning a log file handler
Browse files Browse the repository at this point in the history
  • Loading branch information
ahumenberger committed Jul 18, 2024
1 parent acb0f6d commit 36c4b6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions log/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ func (h *spawningHandler) Clone() (clone *spawningHandler) {
attributes: maps.Clone(h.attributes),

logFileSpawners: slices.Clone(h.logFileSpawners),

flags: h.flags,
}
}

Expand Down

0 comments on commit 36c4b6d

Please sign in to comment.