summaryrefslogtreecommitdiff
path: root/src/components/config_profile/src/ini_file.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/config_profile/src/ini_file.cc')
-rw-r--r--src/components/config_profile/src/ini_file.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/config_profile/src/ini_file.cc b/src/components/config_profile/src/ini_file.cc
index 024c75de3e..f549f4b915 100644
--- a/src/components/config_profile/src/ini_file.cc
+++ b/src/components/config_profile/src/ini_file.cc
@@ -55,7 +55,7 @@
namespace profile {
-CREATE_LOGGERPTR_GLOBAL(logger_, "Profile")
+SDL_CREATE_LOG_VARIABLE("Profile")
char* ini_write_inst(const char* fname, uint8_t flag) {
FILE* fp = 0;
@@ -278,8 +278,8 @@ char ini_write_value(const char* fname,
if (0 != rename(temp_fname, fname)) {
if (0 != remove(temp_fname)) {
- LOG4CXX_WARN_WITH_ERRNO(
- logger_, "Unable to remove temp file: " << std::string(temp_fname));
+ SDL_LOG_WARN_WITH_ERRNO(
+ "Unable to remove temp file: " << std::string(temp_fname));
}
return FALSE;
}