mirror of
https://codeberg.org/forgejo/docs.git
synced 2024-11-23 17:59:25 -05:00
0a8830c30b
As of forgejo/forgejo#2869, console logging implements three adaptations for running forgejo under systemd/journald: - forgejo learned to emit printk-style log level prefixes that are picked up by journald and saved as the severity level of this line (e.g., `<3>some text\n` means that "some text" will be saved as an error entry); - forgejo learned a new pseudo-flag "journaldflags" which is supposed to replace "stdflags" when running under journald to reduce log clutter (specifically, it removes date/time from log entries since the time information is automatically saved by journald and displayed by journalctl, and replaces the textual log level by the above-described machine-parsable log level prefix); - finally, forgejo will try to automatically detect whether it is running under journald by parsing `$JOURNAL_STREAM` environment variable and use "journalflags" as default flags if that is the case). Document those. Signed-off-by: Ivan Shapovalov <intelfx@intelfx.name> |
||
---|---|---|
.. | ||
actions.md | ||
adopt.md | ||
command-line.md | ||
config-cheat-sheet.md | ||
customization.md | ||
database-preparation.md | ||
email-setup.md | ||
gitea-migration.md | ||
incoming-email.md | ||
index.md | ||
installation-binary.md | ||
installation-docker.md | ||
installation.md | ||
LICENSE | ||
logging-documentation.md | ||
moderation.md | ||
oauth2-provider.md | ||
recommendations.md | ||
reverse-proxy.md | ||
search-engines-indexation.md | ||
seek-assistance.md | ||
signing.md | ||
storage.md | ||
upgrade.md |