Skip to content

[Core] Error parsing logging config from config file #9

@dganic

Description

@dganic

When nodes start, a message appears about the incorrectly specified logging parameters in the configuration file, although the configuration file is the default and is created when the node starts for the first time.

102070ms th_a       main.cpp:113                  load_config_file     ] Error parsing logging config from config file /opt/gravity/witness_node_data_dir/config.ini, using default config

Section describing the parameters of logging in the configuration file:

# declare an appender named "stderr" that writes messages to the console
[log.console_appender.stderr]
stream=std_error

# declare an appender named "p2p" that writes messages to p2p.log
[log.file_appender.p2p]
filename=logs/p2p/p2p.log
# filename can be absolute or relative to this config file

# route any messages logged to the default logger to the "stderr" logger we
# declared above, if they are info level are higher
[logger.default]
level=info
appenders=stderr

# route messages sent to the "p2p" logger to the p2p appender declared above
[logger.p2p]
level=info
appenders=p2p

OS: Ubuntu 16.04.4

  "client_version": "2.0.171212-4-g214ddcd",
  "graphene_revision": "214ddcd0d5adc3adc6581d2f1bf07b54ce021553",
  "graphene_revision_age": "17 days ago",
  "fc_revision": "7cd9f1c7a43684c79dd5b4a7cebd23154b902877",
  "fc_revision_age": "30 weeks ago",
  "compile_date": "compiled on May 28 2018 at 08:49:56",
  "boost_version": "1.58",
  "openssl_version": "OpenSSL 1.0.2g  1 Mar 2016",
  "build": "linux 64-bit"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions