Remove log_debug2 as well and simplify log.c.

This commit is contained in:
nicm
2014-03-31 21:42:45 +00:00
parent 7bdb675469
commit 48478ea0a9
3 changed files with 25 additions and 60 deletions

2
tmux.c
View File

@@ -70,7 +70,7 @@ logfile(const char *name)
if (debug_level > 0) {
xasprintf(&path, "tmux-%s-%ld.log", name, (long) getpid());
log_open(debug_level, path);
log_open(path);
free(path);
}
}