Enable log into text file automatically when BuildConfig.DEBUG is true. Open log...
[pub/Android/ownCloud.git] / src / com / owncloud / android / utils / Log_OC.java
index 098625a..18c81ee 100644 (file)
@@ -69,9 +69,9 @@ public class Log_OC {
         if (!folder.exists()) {
             folder.mkdirs();
         }
-        if (logFile.exists()) {
-            logFile.delete();
-        }
+//        if (logFile.exists()) {
+//            logFile.delete();
+//        }
         try { 
             logFile.createNewFile();
             buf = new BufferedWriter(new FileWriter(logFile, true));