mirror of
1
Fork 0
gotosocial/example
Daenney 4ae16bce8c
[feature] Make log format configurable (#2130)
* [feature] Don't emit timestamp in log lines

When running gotosocial with a service manager like systemd, or a
container runtime, the associated log driver usually emits timestamps
itself. In those cases, having the extra timestamp from our own log
lines ends up being a bit noisy and when centrally ingesting logs is
duplicate information.

This introduces a configuration flag that allows disabling emitting the
timestamp. It's only wired up for "daemonised" processes, meaning server
and testrig.

* [chore] Add docs for log-timestamp

* [feature] Simplify timestamp handling

Co-Authored-By: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>

* [chore] Less escaped double-quotes

* [chore] Fix help string

---------

Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
2023-08-21 19:07:55 +01:00
..
apparmor [bugfix/docs] AppArmor profile for SQLite (#1864) 2023-06-04 18:55:57 +02:00
borgmatic [docs] Rework backups a bit (#1942) 2023-07-07 11:45:42 +02:00
docker-compose [feature] Set timezone in Docker using TZ env variable (#2050) 2023-08-01 14:47:53 +02:00
tracing [docs] Add example tracing infrastructure (#1866) 2023-06-09 16:04:23 +02:00
config.yaml [feature] Make log format configurable (#2130) 2023-08-21 19:07:55 +01:00
gotosocial.service [docs] Remove filesystem logging directives from example systemd unit config (#1206) 2022-12-05 11:10:13 +01:00