Commit b5c95699 authored by Sam Hocevar's avatar Sam Hocevar

* modules/misc/logger.c: don't truncate logfile upon creation.

parent cec52bce
......@@ -243,7 +243,7 @@ static int Open( vlc_object_t *p_this )
/* Open the log file and remove any buffering for the stream */
msg_Dbg( p_intf, "opening logfile `%s'", psz_file );
p_intf->p_sys->p_file = utf8_fopen( psz_file, "wt" );
p_intf->p_sys->p_file = utf8_fopen( psz_file, "at" );
if( p_intf->p_sys->p_file == NULL )
{
msg_Err( p_intf, "error opening logfile `%s'", psz_file );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment