Skip to content

Commit

Permalink
Log fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
apuzhevi committed Mar 25, 2020
1 parent 7ea0607 commit d15a016
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ipDeviceCommon/RsUsageEnvironment.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// License: Apache 2.0. See LICENSE file in root directory.
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright(c) 2020 Intel Corporation. All Rights Reserved.

#include "RsUsageEnvironment.h"
Expand Down Expand Up @@ -34,6 +34,7 @@ RSUsageEnvironment* RSUsageEnvironment::createNew(TaskScheduler& taskScheduler)
el::Loggers::reconfigureAllLoggers(el::Level::Global, el::ConfigurationType::Format, "%datetime{%y%M%d%H%m%s.%g} [%logger]\t%levshort: %msg");
el::Loggers::reconfigureAllLoggers(el::Level::Debug, el::ConfigurationType::Enabled, "false");
el::Loggers::reconfigureAllLoggers(el::Level::Global, el::ConfigurationType::ToStandardOutput, "false");
el::Loggers::reconfigureAllLoggers(el::Level::Global, el::ConfigurationType::ToFile, "true");

CLOG(INFO, "netdev") << "RealSense network logging initialized";
}
Expand Down

0 comments on commit d15a016

Please sign in to comment.