Skip to content

Commit

Permalink
OrcCommand: ObjInfo: add partial support for 'log' option
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Feb 11, 2021
1 parent 3d88459 commit 5b8e7e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/OrcCommand/ObjInfo_Config.cpp
Expand Up @@ -31,6 +31,8 @@ HRESULT Main::GetSchemaFromConfig(const ConfigItem& schemaitem)

HRESULT Main::GetConfigurationFromArgcArgv(int argc, LPCWSTR argv[])
{
UtilitiesLoggerConfiguration::Parse(argc, argv, m_utilitiesConfig.log);

bool bBool = false;
for (int i = 1; i < argc; i++)
{
Expand Down Expand Up @@ -61,6 +63,8 @@ HRESULT Main::GetConfigurationFromArgcArgv(int argc, LPCWSTR argv[])

HRESULT Main::CheckConfiguration()
{
UtilitiesLoggerConfiguration::Apply(m_logging, m_utilitiesConfig.log);

if (config.output.Type == OutputSpec::Kind::None)
{
config.output.Type = OutputSpec::Kind::TableFile;
Expand Down

0 comments on commit 5b8e7e7

Please sign in to comment.