[CP] [CP] [CP] lower down pidfile test log level
This commit is contained in:
2
deps/oblib/src/lib/utility/utility.cpp
vendored
2
deps/oblib/src/lib/utility/utility.cpp
vendored
@ -1122,7 +1122,7 @@ static int pidfile_test(const char *pidfile)
|
|||||||
int fd = open(pidfile, O_RDONLY);
|
int fd = open(pidfile, O_RDONLY);
|
||||||
|
|
||||||
if (fd < 0) {
|
if (fd < 0) {
|
||||||
LOG_WARN("fid file doesn't exist", KCSTRING(pidfile));
|
LOG_INFO("fid file doesn't exist", KCSTRING(pidfile));
|
||||||
ret = OB_FILE_NOT_EXIST;
|
ret = OB_FILE_NOT_EXIST;
|
||||||
} else {
|
} else {
|
||||||
if (lockf(fd, F_TEST, 0) != 0) {
|
if (lockf(fd, F_TEST, 0) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user