Skip to content

Commit

Permalink
OrcLib: Console: also duplicate emtpy lines into the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Dec 1, 2020
1 parent ff0330c commit 03a0a4c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/OrcLib/Output/Console/Console.h
Expand Up @@ -37,11 +37,8 @@ struct StdoutContainerAdapter
static std::basic_string<T> line;
if (c == Traits::newline_v<T>)
{
if (line.size() > 1)
{
Log::Info(Logger::Facility::kLogFile, line);
line.clear();
}
Log::Info(Logger::Facility::kLogFile, line);
line.clear();
}
else
{
Expand Down

0 comments on commit 03a0a4c

Please sign in to comment.