GithubHelp home page GithubHelp logo

No log history about autobrr HOT 4 CLOSED

autobrr avatar autobrr commented on May 22, 2024
No log history

from autobrr.

Comments (4)

GregTroar avatar GregTroar commented on May 22, 2024 1

Yep done exactly the above and works well.
Thanks

from autobrr.

ludviglundgren avatar ludviglundgren commented on May 22, 2024

Hi!

He current implementation/library which is used for SSE does have an option to keep all the logs/events.

But when the application has been active for a couple of months that could be 100s of thousands of events that would be sent back.

I'll look into if I can hook up my own cache or something for a couple of hundred events, but in the mean time you can use either the log to file feature, or if you run it with systemd, check/tail the logs to stdout with journalctl.

from autobrr.

GregTroar avatar GregTroar commented on May 22, 2024

Hi why not just keeping the last 1,000 lines ? or similar ?

Thanks

from autobrr.

ludviglundgren avatar ludviglundgren commented on May 22, 2024

The library used to hook the logger to server sent events (sse) doesn't support that currently but I saw discussions about it so we'll see.

You can enable the log to file in the config if you uncomment the logPath line, and set it to a directory you can write to.

LogLevel TRACE will give you the most output.

So you can either tail that log file, or if you run it with systemd, use journalctl to tail it's logs.

As I said before, documentation will get priority in the next weeks.

from autobrr.

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.