mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +01:00
Disable strace.
This commit is contained in:
@@ -211,6 +211,7 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
|
|||||||
// FIXME
|
// FIXME
|
||||||
long torPid = getPid(torProcess);
|
long torPid = getPid(torProcess);
|
||||||
LOG.info("Tor PID: " + torPid);
|
LOG.info("Tor PID: " + torPid);
|
||||||
|
/*
|
||||||
pb = new ProcessBuilder("/usr/bin/strace", "-ff", "-o", "strace.out",
|
pb = new ProcessBuilder("/usr/bin/strace", "-ff", "-o", "strace.out",
|
||||||
"-p", String.valueOf(torPid));
|
"-p", String.valueOf(torPid));
|
||||||
try {
|
try {
|
||||||
@@ -219,6 +220,7 @@ abstract class TorPlugin implements DuplexPlugin, EventHandler, EventListener {
|
|||||||
} catch (SecurityException | IOException e) {
|
} catch (SecurityException | IOException e) {
|
||||||
logException(LOG, WARNING, e);
|
logException(LOG, WARNING, e);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
// Log the process's standard output until it detaches
|
// Log the process's standard output until it detaches
|
||||||
if (LOG.isLoggable(INFO)) {
|
if (LOG.isLoggable(INFO)) {
|
||||||
Scanner stdout = new Scanner(torProcess.getInputStream());
|
Scanner stdout = new Scanner(torProcess.getInputStream());
|
||||||
|
|||||||
Reference in New Issue
Block a user