Disable strace.

This commit is contained in:
akwizgran
2019-04-02 16:45:31 +01:00
parent 0237df937f
commit ea006d21f9

View File

@@ -211,6 +211,7 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
// FIXME
long torPid = getPid(torProcess);
LOG.info("Tor PID: " + torPid);
/*
pb = new ProcessBuilder("/usr/bin/strace", "-ff", "-o", "strace.out",
"-p", String.valueOf(torPid));
try {
@@ -219,6 +220,7 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
} catch (SecurityException | IOException e) {
logException(LOG, WARNING, e);
}
*/
// Log the process's standard output until it detaches
if (LOG.isLoggable(INFO)) {
Scanner stdout = new Scanner(torProcess.getInputStream());