Change file path of domain socket
[platform/framework/native/appfw.git] / src / io / FIo_NormalFile.cpp
index 97b2b8d..d23b5a0 100644 (file)
@@ -50,8 +50,6 @@ namespace Tizen { namespace Io
 
 static const int _MAX_LINE_LENGTH = 4096;
 
-#define _MAX_OPENMODE_LENGTH 3
-
 _NormalFile::_NormalFile(void)
        : __pFile(NULL)
 {
@@ -88,7 +86,7 @@ _NormalFile::Construct(const String& filePath, const char* pOpenMode)
        if (pFile == null)
        {
                r = __ConvertNativeErrorToResult(errno);
-               SysLogException(NID_IO, r, "[%s] Failed to open file (%s) in openMode (%s), errno: %d (%s).",
+               SysSecureLogException(NID_IO, r, "[%s] Failed to open file (%s) in openMode (%s), errno: %d (%s).",
                                GetErrorMessage(r), pFilePath.get(), pOpenMode, errno, strerror(errno));
                return r;
        }