diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-25 14:09:09 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-04-25 17:06:43 +0200 |
commit | aa976d87889ae22b7347787a1ebd03a31dcc0a9e (patch) | |
tree | 08c1a7e8bff36f1def213ac176cf9f725c5c7f1f /src/socket-proxy | |
parent | mkosi: Make sure systemd-resolved is started on boot (diff) | |
download | systemd-aa976d87889ae22b7347787a1ebd03a31dcc0a9e.tar.xz systemd-aa976d87889ae22b7347787a1ebd03a31dcc0a9e.zip |
tree-wide: Use log_setup() everywhere
Otherwise the default log target is the console and we won't use
the journal socket even if it is available.
Diffstat (limited to 'src/socket-proxy')
-rw-r--r-- | src/socket-proxy/socket-proxyd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/socket-proxy/socket-proxyd.c b/src/socket-proxy/socket-proxyd.c index 287fd6c181..dd9fa07153 100644 --- a/src/socket-proxy/socket-proxyd.c +++ b/src/socket-proxy/socket-proxyd.c @@ -676,8 +676,7 @@ static int run(int argc, char *argv[]) { _unused_ _cleanup_(notify_on_cleanup) const char *notify_stop = NULL; int r, n, fd; - log_parse_environment(); - log_open(); + log_setup(); r = parse_argv(argc, argv); if (r <= 0) |