{
if (ctdbd_pidfile != NULL && !ctdb_is_child_process()) {
if (unlink(ctdbd_pidfile) == 0) {
- DEBUG(DEBUG_INFO, ("Removed PID file %s\n",
- ctdbd_pidfile));
+ DEBUG(DEBUG_NOTICE, ("Removed PID file %s\n",
+ ctdbd_pidfile));
} else {
DEBUG(DEBUG_WARNING, ("Failed to Remove PID file %s\n",
ctdbd_pidfile));
fprintf(fp, "%d\n", pid);
fclose(fp);
- DEBUG(DEBUG_INFO, ("Created PID file %s\n", ctdbd_pidfile));
+ DEBUG(DEBUG_NOTICE, ("Created PID file %s\n", ctdbd_pidfile));
atexit(ctdb_remove_pidfile);
}
}