summaryrefslogtreecommitdiff
path: root/src/resolve/resolved.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/resolve/resolved.c')
-rw-r--r--src/resolve/resolved.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resolve/resolved.c b/src/resolve/resolved.c
index fbae0b28be..755477096d 100644
--- a/src/resolve/resolved.c
+++ b/src/resolve/resolved.c
@@ -19,9 +19,7 @@ int main(int argc, char *argv[]) {
gid_t gid;
int r;
- log_set_target(LOG_TARGET_AUTO);
- log_parse_environment();
- log_open();
+ log_setup_service();
if (argc != 1) {
log_error("This program takes no arguments.");