gotosocial/docs/configuration
kim 7af9117e0d [feature + performance] add JSON logging format (#4355)
# Description

Adds JSON logging as an optional alternative log output format. In the process this moves our log formatting itself into a separate subpkg to make it more easily modular, and improves caller name getting with some calling function name caching.

## Checklist

- [x] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md).
- [x] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat.
- [x] I/we have not leveraged AI to create the proposed changes.
- [x] I/we have performed a self-review of added code.
- [x] I/we have written code that is legible and maintainable by others.
- [x] I/we have commented the added code, particularly in hard-to-understand areas.
- [x] I/we have made any necessary changes to documentation.
- [ ] I/we have added tests that cover new code.
- [x] I/we have run tests and they pass locally with the changes.
- [x] I/we have run `go fmt ./...` and `golangci-lint run`.

Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4355
Co-authored-by: kim <grufwub@gmail.com>
Co-committed-by: kim <grufwub@gmail.com>
2025-08-09 16:23:00 +02:00
..
accounts.md [feature] Configurable max profile fields (#4175) 2025-05-14 13:25:21 +00:00
advanced.md [chore/docs] fix relative link to scraper deterrence (#4111) 2025-05-03 09:28:43 +00:00
database.md [bugfix] update the default configuration to not set a db type or address, to require explicitly setting it (#4228) 2025-06-24 12:32:52 +02:00
general.md [feature + performance] add JSON logging format (#4355) 2025-08-09 16:23:00 +02:00
httpclient.md [feature/internal/httpclient] add option to configure outgoing protocol (#4134) 2025-05-31 19:15:39 +02:00
index.md [docs] Move docs links to codeberg (#4074) 2025-04-28 12:08:51 +00:00
instance.md [chore] blocklist -> allowlist config typo fix (#4242) 2025-06-05 11:30:13 +02:00
media.md [feature] Add description_limit to /api/v2/instance, increase default limit to 5k (#4140) 2025-05-06 09:58:47 +00:00
observability.md [chore] Simplify the OTEL setup (#4110) 2025-05-05 16:22:45 +00:00
oidc.md [feature/oidc] Add support for very basic RBAC (#2642) 2024-02-27 16:07:29 +01:00
smtp.md [docs] Document STARTTLS behavior (#4301) 2025-07-03 16:52:07 +02:00
statuses.md [chore] Increase default max image description to 1500 chars, collapse cw char count into status (#2682) 2024-02-23 18:28:09 +00:00
storage.md [feature] Add S3 key prefix (#4200) 2025-05-30 14:12:29 +02:00
syslog.md [bugfix] Align default values in the configuration file with the code (#1971) 2023-07-12 10:28:41 +02:00
tls.md [bugfix] Align default values in the configuration file with the code (#1971) 2023-07-12 10:28:41 +02:00
trusted_proxies.md [chore] skip trusted-proxies warning if ip excepted from rate limiting (#3699) 2025-01-27 19:21:13 +01:00
web.md Implement Cobra CLI tooling, Viper config tooling (#336) 2021-12-07 13:31:39 +01:00