mirror of
1
Fork 0
gotosocial/docs
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
..
admin [chore] Fix password typos (#1966) 2023-07-09 18:25:37 +02:00
advanced [docs] Apache setup for Caching assets and media (#2005) (#2005) 2023-07-20 18:48:52 +02:00
api [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
assets [chore] Add Feditext as recommended client (#2081) 2023-08-08 12:19:41 +02:00
configuration [feature] Make log format configurable (#2130) 2023-08-21 19:07:55 +01:00
federation [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
getting_started [feature] Add snapshot binary builds + uploads (#2119) 2023-08-15 18:48:17 +02:00
user_guide [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
environment.yml [chore] update readthedocs deps, use conda (#1742) 2023-05-06 17:33:37 +02:00
faq.md [chore] Add Feditext as recommended client (#2081) 2023-08-08 12:19:41 +02:00
index.md [chore] Add Feditext as recommended client (#2081) 2023-08-08 12:19:41 +02:00
swagger.go [feature] Add List functionality (#1802) 2023-05-25 10:37:38 +02:00