Skip to content

Commit

Permalink
puts node-wide logs in the system namespace (#289)
Browse files Browse the repository at this point in the history
  • Loading branch information
autodidaddict authored Jun 21, 2024
1 parent 9d5db63 commit 7d8bcbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nex/nex.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ func main() {
}
}
if slices.Contains(Opts.Logger, "nats") {
natsLogSubject := fmt.Sprintf("$NEX.logs.%s.stdout", pk)
natsErrLogSubject := fmt.Sprintf("$NEX.logs.%s.stderr", pk)
natsLogSubject := fmt.Sprintf("$NEX.logs.system.%s.stdout", pk)
natsErrLogSubject := fmt.Sprintf("$NEX.logs.system.%s.stderr", pk)
nc, err := models.GenerateConnectionFromOpts(Opts, logger)
if err == nil {
defer func() {
Expand Down

0 comments on commit 7d8bcbb

Please sign in to comment.