No description
  • PLpgSQL 76.2%
  • Rust 12.9%
  • Nix 9.6%
  • Dockerfile 1.3%
Find a file
2025-05-30 23:13:52 +02:00
.github/workflows workflow updates 2025-05-30 23:01:42 +02:00
.sqlx flake reorg 2025-05-30 23:01:05 +02:00
nix flake reorg 2025-05-30 23:01:05 +02:00
src flake reorg 2025-05-30 23:01:05 +02:00
.dockerignore fix docker image 2020-04-02 14:28:52 +02:00
.envrc flake 2022-07-22 17:40:01 +02:00
.gitignore cargo updates 2024-02-11 14:12:16 +01:00
Cargo.lock updates 2025-05-30 23:05:26 +02:00
Cargo.toml updates 2025-05-30 23:05:26 +02:00
Dockerfile fix dockerfile 2021-03-24 15:52:45 +01:00
flake.lock flake reorg 2025-05-30 23:01:05 +02:00
flake.nix flake reorg 2025-05-30 23:01:05 +02:00
README.md basic readme 2025-05-30 23:13:52 +02:00
schema.sql max drops per game 2022-09-06 21:12:37 +02:00

log-archiver

logs.tf archiver

What

Archives both the parsed json into a postgresql database and the raw log files into a folder.

Requirements

Postgresql server with the schema from schema.sql applied.

Usage

Run the binary with the following environment variables

  • DATABASE_URL: connection url for the configured postgresql database, e.g. postgres://user:password@db_host/db_name
  • LOG_TARGET: Folder to save the raw logs into
  • API_HOST: (Optional) overwrite the server to archive the logs from, defaults to https://logs.tf