This wraps the android.util.logging into Log_OC which , if its enabled
[pub/Android/ownCloud.git] / src / eu / alefzero / webdav / FileRequestEntity.java
index 3adaa3a..b6ecae9 100644 (file)
@@ -32,6 +32,8 @@ import java.util.Set;
 
 import org.apache.commons.httpclient.methods.RequestEntity;
 
+import com.owncloud.android.Log_OC;
+
 import eu.alefzero.webdav.OnDatatransferProgressListener;
 
 import android.util.Log;
@@ -110,7 +112,7 @@ public class FileRequestEntity implements RequestEntity {
             }
             
         } catch (IOException io) {
-            Log.e("FileRequestException", io.getMessage());
+            Log_OC.e("FileRequestException", io.getMessage());
             throw new RuntimeException("Ugly solution to workaround the default policy of retries when the server falls while uploading ; temporal fix; really", io);   
             
         } finally {