Code Monkey home page Code Monkey logo

Comments (4)

aunetx avatar aunetx commented on June 14, 2024

Hello, I saw that the app was verbose, but it looks like this is just the way it works (deezer devs did seem to care a looott about debugging their user's apps... :p)

To be honest, idk how this works; there seems to be a global logging system (as in my case journald does all the work, I guess you're not running systemd?)

I will see what I can do to maybe patch some parts of the code, to have less outputs ; however I need to be pretty careful about it if I don't want to break everyone's music session :)

from deezer-linux.

vincentbernat avatar vincentbernat commented on June 14, 2024

I am also using systemd, but I am worried it could fill up the journal pretty quickly when enabling the offline mode for example. I'll investigate a bit when I find some time, don't bother.

from deezer-linux.

aunetx avatar aunetx commented on June 14, 2024

Okay, thanks a lot :p
(ça fait marrant de voir un français !)

from deezer-linux.

StollD avatar StollD commented on June 14, 2024

I might be able to help with this. When I looked through the source code of the app for #9, I saw that there is a function called isDev(), that returns whether the app runs in a development environment or not. Now, they use this function like this:

this.foo = isDev() ? <devel_behaviour> : <prod_behaviour>;

But a few times this is done instead:

this.bar = isDev ? <devel_behaviour> : <prod_behaviour>;

I believe this is an error by the developers, because the second code never invokes the isDev function, it only checks if the symbol exists. Because that is always the case, the app will always choose the development behaviour, which could include the excessive logging.

from deezer-linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.