mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 14:20:54 +00:00
Merge branch 'master' of https://github.com/jialijelly/beego
This commit is contained in:
commit
16b5a11484
@ -278,10 +278,9 @@ func (w *fileLogWriter) doRotate(logTime time.Time) error {
|
||||
if err != nil {
|
||||
goto RESTART_LOGGER
|
||||
}
|
||||
//err = os.Chmod(fName, os.FileMode(0444))
|
||||
|
||||
err = os.Chmod(fName, os.FileMode(otherPerm))
|
||||
// re-start logger
|
||||
|
||||
RESTART_LOGGER:
|
||||
|
||||
startLoggerErr := w.startLogger()
|
||||
|
Loading…
Reference in New Issue
Block a user