Nvm, `misc.writePid` already logs a path under info log level (should this be debug?).