Skip to content

[FEATURE REQUEST] Logging with Timber #2730

@abelgardep

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

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