From 407ebe9cd3eb34979b4c7b14c9c4a2dbfe2a5103 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 23 Feb 2017 08:32:11 -0500 Subject: Move env logging to earlier than wlc_init --- sway/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sway/main.c') diff --git a/sway/main.c b/sway/main.c index 0151e078..5e3b2415 100644 --- a/sway/main.c +++ b/sway/main.c @@ -310,6 +310,9 @@ int main(int argc, char **argv) { init_log(L_ERROR); } wlc_log_set_handler(wlc_log_handler); + log_kernel(); + log_distro(); + log_env(); detect_proprietary(); input_devices = create_list(); @@ -346,9 +349,6 @@ int main(int argc, char **argv) { #if defined SWAY_GIT_VERSION && defined SWAY_GIT_BRANCH && defined SWAY_VERSION_DATE sway_log(L_INFO, "Starting sway version %s (%s, branch \"%s\")\n", SWAY_GIT_VERSION, SWAY_VERSION_DATE, SWAY_GIT_BRANCH); #endif - log_kernel(); - log_distro(); - log_env(); init_layout(); -- cgit v1.2.3