diff options
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/Path.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/Path.cxx b/src/fs/Path.cxx index 9fdb78d35..09616c9f4 100644 --- a/src/fs/Path.cxx +++ b/src/fs/Path.cxx @@ -23,6 +23,7 @@ #include "system/FatalError.hxx" #include "util/Error.hxx" #include "util/Domain.hxx" +#include "Log.hxx" #include "gcc.h" #include <glib.h> @@ -35,9 +36,6 @@ #include <stdio.h> // for sprintf() #endif -#undef G_LOG_DOMAIN -#define G_LOG_DOMAIN "path" - /** * Maximal number of bytes required to represent path name in UTF-8 * (including nul-terminator). @@ -145,7 +143,8 @@ SetFSCharset(const char *charset) fs_charset = charset; - g_debug("SetFSCharset: fs charset is: %s", fs_charset.c_str()); + FormatDebug(path_domain, + "SetFSCharset: fs charset is: %s", fs_charset.c_str()); } const std::string &Path::GetFSCharset() @@ -180,7 +179,8 @@ void Path::GlobalInit() if (charset) { SetFSCharset(charset); } else { - g_message("setting filesystem charset to ISO-8859-1"); + LogDebug(path_domain, + "setting filesystem charset to ISO-8859-1"); SetFSCharset("ISO-8859-1"); } } |