You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Non-error logs will also be recorded in the error log file specified by the error_file in the configuration file when managing the app's logs.
How could we reproduce this issue?
Go demo code:
package main
import (
"github.com/rs/zerolog""github.com/rs/zerolog/log""os"
)
funcmain() {
zerolog.SetGlobalLevel(zerolog.DebugLevel)
log.Logger=log.Output(zerolog.ConsoleWriter{Out: os.Stderr})
log.Info().Msg("This is an info message")
log.Error().Msg("This is an error message")
}
What's going wrong?
Non-error logs will also be recorded in the error log file specified by the error_file in the configuration file when managing the app's logs.
How could we reproduce this issue?
Go demo code:
pm2 configuration file:
error.log content:
out.log content:
The file content is empty.
Supporting information
The text was updated successfully, but these errors were encountered: