Skip to content

Commit 313e109

Browse files
committed
binary 형식으로 로그 파일을 open 한다.
1 parent 4cc7ee0 commit 313e109

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

SipPlatform/FileLog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ bool CFileLog::Print( EnumLogLevel iLevel, const char * fmt, ... )
194194
m_iLogSize = (int)iFileSize;
195195
}
196196

197-
m_sttFd = fopen( szFileName, "a" );
197+
m_sttFd = fopen( szFileName, "ab" );
198198
if( m_sttFd == NULL )
199199
{
200200
printf( "log file(%s) open error\n", szFileName );

SipPlatform/Log.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ int CLog::Print( EnumLogLevel iLevel, const char * fmt, ... )
213213
m_iLogSize = (int)iFileSize;
214214
}
215215

216-
m_sttFd = fopen( szFileName, "a" );
216+
m_sttFd = fopen( szFileName, "ab" );
217217
if( m_sttFd == NULL )
218218
{
219219
printf( "log file(%s) open error\n", szFileName );

0 commit comments

Comments
 (0)