Giter VIP home page Giter VIP logo

logs's People

Contributors

dependabot[bot] avatar ejh2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

logs's Issues

Never expiring logs

Posting to api/v2/logs requires the expiration to be a week or less. In my opinion, I don’t see the point of using this over something like Pastebin if the expiration duration can only go up to a week. What about adding support for never expiring logs? Or have it go up to a year, which is do-able. Setting the expires key to null or None would have it never expire. You could of course add a limit of how many permanent logs an API key can have, something like 1000/year.

Failed to Deploy Using Portainer

I tried to deploy docker-compose file in portainer but it doesn't work

failed to deploy a stack: time="2023-05-14T16:37:08Z" level=warning msg="The \"f\" variable is not set. Defaulting to a blank string." time="2023-05-14T16:37:08Z" level=warning msg="The \"f\" variable is not set. Defaulting to a blank string." time="2023-05-14T16:37:08Z" level=warning msg="The \"f\" variable is not set. Defaulting to a blank string." time="2023-05-14T16:37:08Z" level=warning msg="The \"f\" variable is not set. Defaulting to a blank string." time="2023-05-14T16:37:08Z" level=warning msg="The \"f\" variable is not set. Defaulting to a blank string." time="2023-05-14T16:37:08Z" level=warning msg="The \"f\" variable is not set. Defaulting to a blank string." time="2023-05-14T16:37:08Z" level=warning msg="The \"f\" variable is not set. Defaulting to a blank string." celery_beat Pulling web Pulling celery_worker Pulling celery_worker Error web Warning celery_beat Error listing workers for Build: failed to list workers: Unavailable: connection closed before server preface received

docker-compose.yml


services:
  web:
    container_name: web
    build: .
    image: discord_logview/web
    command: >
      sh -c "python manage.py collectstatic --noinput &&
             python manage.py migrate &&
             python manage.py runserver 0.0.0.0:8000"
    ports:
      - "8125:8000"
    env_file:
      - stack.env
    depends_on:
      - db
  celery_worker:
    container_name: celery_worker
    image: discord_logview/web
    command: celery -A discord_logview worker -l warning
    depends_on:
      - redis
      - web
  celery_beat:
    container_name: celery_beat
    image: discord_logview/web
    command: celery -A discord_logview beat --max-interval 3600
    depends_on:
      - celery_worker
  db:
    container_name: db
    image: postgres:13
    volumes:
      - postgres_data:/var/lib/postgresql/data/
    expose:
      - 5432
    environment:
      POSTGRES_HOST: ${DB_HOST}
      POSTGRES_DB: ${DB_NAME}
      POSTGRES_USER: ${DB_USER}
      POSTGRES_PASSWORD: ${DB_PASSWORD}
  redis:
    container_name: redis
    image: redis:4.0.9
    volumes:
      - redis_data:/data
    expose:
      - 6379

volumes:
  postgres_data:
  redis_data:

How can I fix this error?

Request for Self-Hosting Instructions and Information on Project Status

Hello,
I have recently discovered that the website logs.discord.website is not accessible, and I am encountering the error ERR_NAME_NOT_RESOLVED. I am interested in this project and would like to know if this is a temporary issue or if the project has been discontinued.

I would also appreciate it if someone could provide guidance on how to self-host this repository for my own use, given that the project is not currently being maintained. It would be helpful to understand why the project is no longer hosted and if there are any plans to continue its development or maintenance in the future.

Additionally, I would like to request that someone write some installation instructions for self-hosting this project. This would allow others to self-host the repository in case it is discontinued, ensuring that the project remains accessible to the community.
Thank you in advance for your assistance and any information you can provide.

API gives me an error

I'm getting You do not have permission to perform this action even though I'm authorizing properly. URL I'm trying to GET is https://logs.discord.website/api/v2/logs/

API docs

How do I use the API for this? And what’s the API request url?

Able to set expiry to the past

Using POST /api/v2/logs/, you're able to create a log with an expiring in the past, which results in them still being processed but then immediately removed. Returning an error instead would reduce unnecessary load and probably make it a better developer experience as they may not have realised.

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.