Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

compact logfile - #225

Merged
davigonz merged 4 commits into
owncloud:masterfrom
hannesa2:compactLogfile
Jan 22, 2019
Merged

davigonz merged 4 commits into
owncloud:masterfrom
hannesa2:compactLogfile

Conversation

@hannesa2

@hannesa2 hannesa2 commented Dec 19, 2018 •

Copy link
Copy Markdown
Contributor

It needs owncloud/android#2415

time and text in same line, no empty lines

previous

2018/12/19 08:06:49
GetRemoteSharesForFileOperation : Got 1 shares

2018/12/19 08:06:49
FileDataStorageManager : Sending 16 operations to FileContentProvider

2018/12/19 08:06:49
FileContentProvider : applying batch in provider com.owncloud.android.providers.FileContentProvider@4402c7c (temporary: false)

2018/12/19 08:06:49
FileContentProvider : applied batch in provider com.owncloud.android.providers.FileContentProvider@4402c7c

2018/12/19 08:06:49
RefreshFolderOperation : Send broadcast com.owncloud.android.operations.RefreshFolderOperation.EVENT_SINGLE_FOLDER_SHARES_SYNCED

It looks like this now

2018/12/19 08:46:38 FileDisplayActivity : onResume() starting
2018/12/19 08:46:38 OCFileListFragment : onAttach
2018/12/19 08:46:38 OCFileListFragment : onCreateView() start
2018/12/19 08:46:38 ExtendedListFragment : onCreateView
2018/12/19 08:46:39 OCFileListFragment : onCreateView() end
2018/12/19 08:46:39 OCFileListFragment : onActivityCreated() start
2018/12/19 08:46:39 FileDisplayActivity : onResume() end
2018/12/19 08:46:39 OperationsService : Creating service
2018/12/19 08:46:39 FileDownloader : Creating service
2018/12/19 08:46:39 FileUploader : Creating service
2018/12/19 08:46:39 UploadsStorageManager : Updating state of any killed upload
2018/12/19 08:46:39 UploadsStorageManager : No upload was killed
2018/12/19 08:46:39 cache_test_DISK_ : image read from disk -592799545
2018/12/19 08:46:40 cache_test_DISK_ : image read from disk -592799545
2018/12/19 08:46:40 FileActivity : Operations service connected
2018/12/19 08:46:40 FileDisplayActivity : Download service connected

now you can do cat currentLog.txt | grep something and see immediate findings and when it appears

time and text in same line, no empty lines
@hannesa2

Copy link
Copy Markdown
Contributor Author

Why Log delete logfile result dffd5be ?
On my real device I can't clear log. It simply does nothing

@davigonz

Copy link
Copy Markdown
Contributor

@hannesa2 please review the requested changes so we can push owncloud/android#2415 after merging this.

@davigonz
davigonz merged commit 5f579fb into owncloud:master Jan 22, 2019
@hannesa2
hannesa2 deleted the compactLogfile branch January 23, 2019 05:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants