gotosocial/internal
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
..
ap [bugfix] Use custom bluemonday policy to disallow inline img tags (#2100) 2023-08-11 14:40:11 +02:00
api [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
cache [bugfix] fix inconsistent calculated cache sizes (#2115) 2023-08-14 17:08:19 +01:00
cleaner [performance] Tweak media attachment cleanup; replace stale index (#2143) 2023-08-21 14:03:04 +01:00
config [feature] Make log format configurable (#2130) 2023-08-21 19:07:55 +01:00
db [performance] Tweak media attachment cleanup; replace stale index (#2143) 2023-08-21 14:03:04 +01:00
email [bugfix] add From to email header (#1717) 2023-04-29 11:47:14 +02:00
federation [bugfix] Suppress 'errNoEntries' warnings from InboxForwarding function call (#2102) 2023-08-11 14:17:36 +01:00
gotosocial [bugfix] fix double firing bun.DB query hooks (#2124) 2023-08-17 17:26:21 +01:00
gtscontext [chore] ensure worker contexts have request ID (#2120) 2023-08-15 17:01:01 +01:00
gtserror [feature] List replies policy, refactor async workers (#2087) 2023-08-09 19:14:33 +02:00
gtsmodel [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
httpclient [bugfix] only set content-length AFTER rewinding body bytes (#2086) 2023-08-08 12:45:29 +01:00
id [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
iotools [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
log [feature] Make log format configurable (#2130) 2023-08-21 19:07:55 +01:00
media [feature/performance] support uncaching remote emoji + scheduled cleanup functions (#1987) 2023-07-24 13:14:13 +01:00
messages [feature] List replies policy, refactor async workers (#2087) 2023-08-09 19:14:33 +02:00
middleware [feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs (#2134) 2023-08-20 13:35:55 +02:00
oauth [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
oidc [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
paging [performance] cache follow, follow request and block ID lists (#2027) 2023-07-31 11:25:29 +01:00
processing [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
regexes [feature/performance] support uncaching remote emoji + scheduled cleanup functions (#1987) 2023-07-24 13:14:13 +01:00
router [bugfix] handle HEAD requests more elegantly (#2055) 2023-08-02 10:28:20 +02:00
state [feature] Add List functionality (#1802) 2023-05-25 10:37:38 +02:00
storage [feature/bugfix] Probe S3 storage for CSP uri, add config flag for extra URIs (#2134) 2023-08-20 13:35:55 +02:00
stream [feature] Add List functionality (#1802) 2023-05-25 10:37:38 +02:00
text [bugfix] Use custom bluemonday policy to disallow inline img tags (#2100) 2023-08-11 14:40:11 +02:00
timeline [bugfix] Fix incorrect per-loop variable capture (#2092) 2023-08-09 18:40:32 +02:00
tracing feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
trans [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
transport [feature] simpler cache size configuration (#2051) 2023-08-03 11:34:35 +02:00
typeutils [feature] Instance rules (#2125) 2023-08-19 14:33:15 +02:00
uris [feature] Hashtag federation (in/out), hashtag client API endpoints (#2032) 2023-07-31 15:47:35 +02:00
util [chore] Use generic pointer function (#2080) 2023-08-07 18:38:11 +01:00
validate [feature] Allow full BCP 47 in language inputs (#2067) 2023-08-07 10:25:54 +02:00
visibility [feature] List replies policy, refactor async workers (#2087) 2023-08-09 19:14:33 +02:00
web [bugfix] Use custom bluemonday policy to disallow inline img tags (#2100) 2023-08-11 14:40:11 +02:00
workers [feature] List replies policy, refactor async workers (#2087) 2023-08-09 19:14:33 +02:00