Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commented a log taking up LogCat space #57

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/src/main/java/com/logentries/logger/LogStorage.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public void putLogToStorage(String message) throws IOException, RuntimeException
byte[] rawMessage = message.getBytes();
long currSize = getCurrentStorageFileSize() + rawMessage.length;
String sizeStr = Long.toString(currSize);
Log.d(TAG, "Current size: " + sizeStr);
//Log.d(TAG, "Current size: " + sizeStr);
if (currSize >= MAX_QUEUE_FILE_SIZE) {
Log.d(TAG, "Log storage will be cleared because threshold of " + MAX_QUEUE_FILE_SIZE + " bytes has been reached");
reCreateStorageFile();
Expand Down