thaliproject / Tor_Onion_Proxy_Library

Provides a JAR and an AAR for embedding the Tor Onion Proxy into a Java or Android Program
Apache License 2.0
175 stars 98 forks source link

Support making it easier to catch debugging data for Tor OP #19

Closed yaronyg closed 6 years ago

yaronyg commented 10 years ago

Right now you pretty much have to manually stick in a:

controlConnection.setConf("Log", "debug stdout");

To start debugging and that really only works on Java. But jtorctl actually supports a more generic mechanism where you can register a writer and it will get the debug content. We should make this more generic and hook it into our standard logging so it's easier to turn logging on and off and control its level.