ejh2 / logs Goto Github PK
View Code? Open in Web Editor NEWParsing Discord Logs into realistic-looking HTML
Home Page: https://logs.discord.website
Parsing Discord Logs into realistic-looking HTML
Home Page: https://logs.discord.website
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.
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.
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/
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?
messageReference
)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.
How do I use the API for this? And what’s the API request url?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.