mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 12:49:55 +01:00
Use a .txt extension for debugging logs sent to the developers.
This commit is contained in:
@@ -321,7 +321,7 @@ public class TestingActivity extends BriarActivity implements OnClickListener {
|
|||||||
protected void onPostExecute(Map<String, String> result) {
|
protected void onPostExecute(Map<String, String> result) {
|
||||||
try {
|
try {
|
||||||
File shared = Environment.getExternalStorageDirectory();
|
File shared = Environment.getExternalStorageDirectory();
|
||||||
temp = File.createTempFile("debug", "txt", shared);
|
temp = File.createTempFile("debug", ".txt", shared);
|
||||||
if(LOG.isLoggable(INFO))
|
if(LOG.isLoggable(INFO))
|
||||||
LOG.info("Writing to " + temp.getPath());
|
LOG.info("Writing to " + temp.getPath());
|
||||||
PrintStream p = new PrintStream(new FileOutputStream(temp));
|
PrintStream p = new PrintStream(new FileOutputStream(temp));
|
||||||
|
|||||||
Reference in New Issue
Block a user