-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better logging GUI #2694
Better logging GUI #2694
Conversation
e9da034
to
ecb79e0
Compare
I found an issue |
e4d6994
to
28d76f6
Compare
Timber's |
fulfilled |
28d76f6
to
67a4521
Compare
This could be interesting. You can create an issue to discuss it there 👍 |
We're wondering if the integration of ownCloud with this sort of third-party solutions could trigger privacy issues, you know, my ownCloud, my info. We pay much attention to the info we put in the logs but is something to consider anyway, what do you think @michaelstingl ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some changes requested @hannesa2 👍
owncloudApp/src/androidTest/java/com/owncloud/android/settings/more/OCSettingsLogTest.kt
Outdated
Show resolved
Hide resolved
"Owncloud.log", | ||
"search logfile", | ||
"search logcat", | ||
getString(R.string.mail_logger) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you include this as constants?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant hardcoded strings
owncloudApp/src/main/java/com/owncloud/android/ui/activity/LogHistoryActivity.kt
Outdated
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/ui/activity/LogHistoryActivity.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/authentication/AuthenticatorActivity.java
Outdated
Show resolved
Hide resolved
Is this SaaS only? Or can we host this ourself? Better open new issue for discussion, and we also should involve @theScrabi – I remember he also proposed a solution. |
One alternative could be https://github.com/Countly I only know the Android part, it's very similar to Firebase. At least, there is a server in GitHub too |
769780b
to
cd19133
Compare
cd19133
to
e2b3861
Compare
continue here #2725 |
|
It's about to change logging from self-made to Timber.
This PR is the GUI part from owncloud/android-library#275 and it relies on it.
It removes the logic to display log and simply uses a Fragment from logging-lib.
It keeps all previous functions like
and adds
release
build type !Verbose
,Debug
,Info
,Warning
,Error
Eg, when you select
Info
you will see onlyInfo
,Warning
,Error
entries and filters outVerbose
,Debug
So it helps to investigate, what's wrong with ownCloud.
Btw, I recommend to add Firebase Crashlytics in ownCloud. If you want, I can help you with this task