forgejo-docs/docs
Ivan Shapovalov 0a8830c30b admin: logging-documentation: document journald support
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>
2024-09-04 21:56:49 +00:00
..
_images Add documentation for pushmirror via SSH 2024-08-26 08:06:56 +00:00
_mermaid Documentation for federated-star (#639) 2024-06-29 16:47:25 +00:00
admin admin: logging-documentation: document journald support 2024-09-04 21:56:49 +00:00
contributor Update contributing sections (#821) 2024-08-25 16:15:48 +00:00
user Fix location of gitconfig user file 2024-09-04 21:44:56 +00:00
index.md Update contributing sections (#821) 2024-08-25 16:15:48 +00:00
license.md Replace Knut source link with IA 2024-05-16 19:30:20 +05:00