os.Rename fails on windows if the file exists. I can find no way to
invoke ReplaceFile via Go, so lumberjack's registrar updates will not be atomic on Windows platform. On windows, the "old" registrar db is saved as ".lumberjack.old"
Showing
registrar_other.go
0 → 100644
registrar_windows.go
0 → 100644
Please register or sign in to comment