Skip to content

Commit

Permalink
Change open mode to 'append' in startRecording() also (sonic-net#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleveque authored Aug 8, 2017
1 parent f0a3215 commit e7ce39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/sai_redis_record.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void startRecording()

recfile = logOutputDir + "/sairedis.rec";

recording.open(recfile);
recording.open(recfile, std::ofstream::out | std::ofstream::app);

if (!recording.is_open())
{
Expand Down

0 comments on commit e7ce39d

Please sign in to comment.