Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.2] Backport separate logging for state history plugin #595

Merged
merged 2 commits into from
Jul 8, 2022

Conversation

ndcgundlach
Copy link
Contributor

@ndcgundlach ndcgundlach commented Jul 5, 2022

Add separate logging for state history plugin.

To enable/configure SHiP logging, add a "state_history" entry in the logging.json under the loggers section in the form:

{
    "name": "state_history",
    "level": "info",
    "enabled": true,
    "additivity": false,
    "appenders": [
      "stderr",
      "net"
      ]
  }

See the nodeos logging config documentation for more detailed info on the particular options.

add separate logging for state history plugin
@ndcgundlach ndcgundlach added the OCI OCI working this issue... label Jul 5, 2022
@ndcgundlach ndcgundlach marked this pull request as ready for review July 5, 2022 16:07
Copy link
Member

@heifner heifner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should add this logger to the example logging.json in programs/nodeos.
Also update the PR description with information about how to enable this logging in SHiP.

@ndcgundlach ndcgundlach requested a review from heifner July 7, 2022 15:55
@ndcgundlach ndcgundlach merged commit 9bac82b into main Jul 8, 2022
@ndcgundlach ndcgundlach deleted the backport_ship_logging branch July 8, 2022 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI OCI working this issue...
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants