cihub / seelog

Seelog is a native Go logging library that provides flexible asynchronous dispatching, filtering, and formatting.
BSD 3-Clause "New" or "Revised" License
1.64k stars 244 forks source link

returns error 530 while opening configure file, and OK after touch the file #162

Open seedjyh opened 6 years ago

seedjyh commented 6 years ago

Appearance

code

    if logger, err = seelog.LoggerFromConfigAsFile(config_file_name); err != nil {
        panic(err)
    }

output

panic: open ./config/seelog.xml: errno 530

and...

When I touched the file seelog.xml such as

cd config
touch *

then there's no error any more. And it appeared next day.