log: don't print function name with INFO logs
This commit is contained in:
parent
b1ca8dd1b5
commit
d0a3edd67f
2
log.c
2
log.c
@ -84,7 +84,7 @@ void logLog(enum llevel_t ll, const char *fn, int ln, bool perr, const char *fmt
|
||||
{"HR", "\033[0m", false},
|
||||
{"HB", "\033[1m", false},
|
||||
{"D", "\033[0;4m", true},
|
||||
{"I", "\033[1m", true},
|
||||
{"I", "\033[1m", false},
|
||||
{"W", "\033[0;33m", true},
|
||||
{"E", "\033[1;31m", true},
|
||||
{"F", "\033[7;35m", true},
|
||||
|
@ -249,8 +249,10 @@ int subprocReap(struct nsjconf_t *nsjconf)
|
||||
if (diff >= nsjconf->tlimit) {
|
||||
LOG_I("PID: %d run time >= time limit (%ld >= %ld) (%s). Killing it", pid,
|
||||
(long)diff, (long)nsjconf->tlimit, p->remote_txt);
|
||||
/* Probably a kernel bug - some processes cannot be killed with KILL if
|
||||
* they're namespaced, and in a stopped state */
|
||||
/*
|
||||
* Probably a kernel bug - some processes cannot be killed with KILL if
|
||||
* they're namespaced, and in a stopped state
|
||||
*/
|
||||
kill(pid, SIGCONT);
|
||||
PLOG_D("Sent SIGCONT to PID: %d", pid);
|
||||
kill(pid, SIGKILL);
|
||||
|
Loading…
Reference in New Issue
Block a user