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
Hi @r-hang
I am using this logger configuration. I cannot share the log file that has production data. But what is happening is when a log is made of threshold size, and a new log file is created. Within this interval, a few logs are missed.
Means: Some parts of the same request are present in the previous file (completed log file) and some parts are in the newly created log file. But logs within this are missed.
Describe the bug
After rotation (creation of a new file) the very first log line is skipped and is not showing in log file.
To Reproduce
`func initiliaselogger() {
level := getLevel(env.ENV.LOG_LEVEL)
}`
Expected behavior
After the creation of a new file (after rotation), the very line of the log is skipped.
Pls let me know if I have to change anything in the configuration while initializing the logger.
The text was updated successfully, but these errors were encountered: