[Logging]
# The minimum level that will be logged. Possible options are: Debug, Information, Warning, Error, Fatal
LogEventLevel = Debug
# Whether to log SQL queries. This is extremely verbose.
LogQueries = false
# URL for a Seq instance to log to. Generally not needed if you're self-hosting.
SeqLogUrl = http://localhost:5341
# Whether to enable Prometheus metrics. If disabled, Catalogger will update metrics manually every so often.
EnableMetrics = false

[Database]
Url = Host=localhost;Database=postgres;Username=postgres;Password=postgres
# URL for a Redis-compatible database. Not required; Catalogger will fall back to in-memory caching if it's not set.
Redis = localhost:6379
# The key used to encrypt message data. This should be base64;
# you can use `openssl rand -base64 32` on the command line to generate a key.
EncryptionKey = changeMe!FNmZbotJnAAJ7grWHDluCoKIwj6NcUagKE=

[Discord]
ApplicationId = <applicationIdHere>
Token = <discordTokenHere>
# If you only want to sync commands with a single server, uncomment the line below and put its ID.
# CommandsGuildId = <testGuildIdHere>
# If disabled, commands will not be synced with Discord. This generally shouldn't be turned off.
SyncCommands = true
# The channel where guild join/leave logs are sent. The bot needs to have permission to manage webhooks in this channel.
GuildLogId = 803961980758261800
# This is not necessary when not using the dashboard.
# ClientSecret = <secret>
# If this is set to false, commands won't mention the dashboard.
# EnableDash = false
# The server where people can ask for support, linked in the help command.
# SupportGuild = https://discord.gg/b5jjJ96Jbv

# Dashboard related settings. You shouldn't need to change these.
[Web]
Host = localhost
Port = 5005
BaseUrl = https://catalogger.localhost
