summaryrefslogtreecommitdiff
path: root/src/basic/log.c
Commit message (Expand)AuthorAgeFilesLines
* log: Log when kmsg is being ratelimitedDaan De Meyer2023-04-201-2/+6
* log: Add knob to disable kmsg ratelimitingDaan De Meyer2023-04-201-1/+21
* log: Add LOG_SET_PREFIX() macroDaan De Meyer2023-03-291-11/+27
* Merge pull request #26916 from DaanDeMeyer/log-context-refDaan De Meyer2023-03-221-12/+69
|\
| * log: Add key/value support to the log contextDaan De Meyer2023-03-211-8/+45
| * log: Avoid pushing the same fields more than once on the log contextDaan De Meyer2023-03-211-4/+24
* | core: Settle log target if we're going to be closing all fdsDaan De Meyer2023-03-221-0/+18
|/
* log: add iov helpers for log_contextLuca Boccassi2023-03-141-3/+43
* Include <threads.h> if possible to get thread_local definitionCristian Rodríguez2023-03-061-0/+1
* log: add common helper log_set_target_and_open()Lennart Poettering2023-02-161-0/+5
* basic: Add log contextDaan De Meyer2023-01-081-16/+148
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-4/+4
* basic: move a bunch of cmdline-related funcs to new argv-util.c+hZbigniew Jędrzejewski-Szmek2022-11-081-0/+1
* basic/errno-util: add helper to protect and set errno in one stepZbigniew Jędrzejewski-Szmek2022-10-101-6/+3
* basic/log: include the log syntax callback in the errno protection blockZbigniew Jędrzejewski-Szmek2022-10-071-5/+6
* log: don't attempt to duplicate closed fdLennart Poettering2022-09-031-1/+1
* basic/log: split out invoked_by_systemd() utility functionZbigniew Jędrzejewski-Szmek2022-07-151-20/+2
* tree-wide: port various users over to connect_unix_path()Lennart Poettering2022-05-141-22/+8
* meson: turn on log-message-verification by default in developer buildsZbigniew Jędrzejewski-Szmek2022-05-111-0/+4
* nss: only read logging config from environment variablesZbigniew Jędrzejewski-Szmek2022-01-111-6/+10
* journal: Don't discard kmsg messages coming from journald itselfDaan De Meyer2021-11-181-1/+1
* alloc-util: add strdupa_safe() + strndupa_safe() and use it everywhereLennart Poettering2021-10-141-2/+4
* systemd-analyze: option to exit with an error when 'verify' failsMaanya Goenka2021-08-121-0/+14
* basic/log: invert loop to avoid repeated evaluation of conditionZbigniew Jędrzejewski-Szmek2021-08-071-17/+11
* basic/log: use structured initialization, drop unused initializationZbigniew Jędrzejewski-Szmek2021-08-071-25/+27
* basic/log: use appropriate glyph in log_assert_failed_unreachable()Zbigniew Jędrzejewski-Szmek2021-08-031-1/+1
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-3/+2
* basic/log: use SYNTHETIC_ERRNO in one more placeZbigniew Jędrzejewski-Szmek2021-05-051-4/+3
* basic/log: directly initialize iovec arraysZbigniew Jędrzejewski-Szmek2021-05-041-19/+21
* basic/io-util: invert return value from IOVEC_INCREMENT()Zbigniew Jędrzejewski-Szmek2021-05-041-3/+3
* Reword and reindent commentZbigniew Jędrzejewski-Szmek2021-03-221-10/+6
* log: protect errno in log_open()Sergey Bugaev2021-03-221-0/+7
* basic/log: align tablesZbigniew Jędrzejewski-Szmek2021-03-011-8/+8
* tree-wide: propagate error code from _from_string() functionsZbigniew Jędrzejewski-Szmek2021-02-101-2/+2
* log: do not use uninitialized valueYu Watanabe2021-02-091-1/+3
* log: skip reading the kernel command line if the process is invoked by a scriptYu Watanabe2021-02-011-4/+26
* tree-wide: enable colorized logging for daemons when run in consoleYu Watanabe2021-02-011-13/+1
* log: make tools also read the kernel command line when run as a serviceYu Watanabe2021-02-011-9/+5
* Merge pull request #18371 from yuwata/use-ansi-normalYu Watanabe2021-01-251-1/+1
|\
| * log: use ansi_normal() instead of ANSI_NORMALYu Watanabe2021-01-251-1/+1
* | log: drop unused LogRealmYu Watanabe2021-01-251-42/+32
|/
* Merge pull request #17702 from rnhmjoj/masterLennart Poettering2020-12-161-1/+1
|\
| * tree-wide: avoid direct use of color macrosrnhmjoj2020-12-151-1/+1
* | basic/log: add debug-level log_oom() variantZbigniew Jędrzejewski-Szmek2020-12-111-3/+2
|/
* log: open journal when cli program run in a service unitYu Watanabe2020-12-091-1/+3
* log: make show_color variable tristateYu Watanabe2020-12-091-4/+4
* log: merge conditions to reduce indentationYu Watanabe2020-12-091-5/+4
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* log: normalize log target condition checkLennart Poettering2020-09-301-20/+31
* log: include TID= field in structred log outputLennart Poettering2020-09-291-0/+2