summaryrefslogtreecommitdiff
path: root/docs/configuration/general.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configuration/general.md')
-rw-r--r--docs/configuration/general.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/configuration/general.md b/docs/configuration/general.md
index 285852afe..8ae2ec4f7 100644
--- a/docs/configuration/general.md
+++ b/docs/configuration/general.md
@@ -28,6 +28,17 @@ log-db-queries: false
# Default: true
log-client-ip: true
+# String. Format to use for the timestamp in log lines.
+# If set to the empty string, the timestamp will be
+# ommitted from the logs entirely.
+#
+# The format must be compatible with Go's time.Layout, as
+# documented on https://pkg.go.dev/time#pkg-constants.
+#
+# Examples: [true, false]
+# Default: "02/01/2006 15:04:05.000"
+log-timestamp-format: "02/01/2006 15:04:05.000"
+
# String. Application name to use internally.
# Examples: ["My Application","gotosocial"]
# Default: "gotosocial"