diff options
author | Max Kellermann <max@duempel.org> | 2015-06-22 22:33:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-22 22:33:37 +0200 |
commit | 9f4f1bab39d3efa1f2cf1fa9fb861f8d38fdb652 (patch) | |
tree | e053d18aa9083b00f56c7b9db40737dd3ce29c09 /src/LogInit.cxx | |
parent | 73bd6af0f9f1ce9c535ff0a4227e29df3631eb45 (diff) |
LogBackend: remove character set support
Always write UTF-8 to the log file.
Diffstat (limited to 'src/LogInit.cxx')
-rw-r--r-- | src/LogInit.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/LogInit.cxx b/src/LogInit.cxx index f0f00495f..7f3c11b2e 100644 --- a/src/LogInit.cxx +++ b/src/LogInit.cxx @@ -31,10 +31,6 @@ #include "util/Domain.hxx" #include "system/FatalError.hxx" -#ifdef HAVE_GLIB -#include <glib.h> -#endif - #include <assert.h> #include <string.h> #include <fcntl.h> @@ -131,12 +127,6 @@ log_init(bool verbose, bool use_stdout, Error &error) #else const struct config_param *param; -#ifdef HAVE_GLIB - const char *charset; - g_get_charset(&charset); - SetLogCharset(charset); -#endif - if (verbose) SetLogThreshold(LogLevel::DEBUG); else if ((param = config_get_param(ConfigOption::LOG_LEVEL)) != nullptr) @@ -216,10 +206,6 @@ void setup_log_output(bool use_stdout) redirect_logs(out_fd); close(out_fd); out_fd = -1; - -#ifdef HAVE_GLIB - SetLogCharset(nullptr); -#endif #endif } |