Skip to content

[FEATURE REQUEST] Logging with Timber #2730

Closed

Description

@abelgardep

Contribution by @hannesa2

It's about to change logging from self-made to Timber.

It removes the logic to display log and simply uses a Fragment from logging-lib.

It keeps all previous functions like

  • searching

image

and adds

  • a tab for ownCloud Filelogging view
  • a tab for Logcat view
    • to see what happens on other processes too
    • to log what ownCloud forgot to log
    • within release build type !
  • share log
  • adds filter for Verbose, Debug, Info, Warning, Error

Eg, when you select Info you will see only Info, Warning, Error entries and filters out Verbose, Debug

image

So it helps to investigate, what's wrong with ownCloud.

All is encapsulated with a logging lib which I use in several places.
I kept to old Log_OC , to easy migrate and do not touch all files. Especially when you do a huge refactoring

One major advantage for developers:
Before:

image

NEW: you can click log log line and jump direct to code ! You see the linenumber as well

image

PR

Activity

  1. abelgardep commented on Nov 18, 2019

    @abelgardep
    ContributorAuthor

    I have created this issue to keep track of every change in the same place and have a better organization @hannesa2 . BTW, thanks for pushing to oC repo 👍

  2. davigonz commented on Nov 27, 2019

    @davigonz
    Contributor

    Merged, to be included in 2.14, thanks @hannesa2 for the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions