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

Jormungandr - logs - poldercast / policy log task / sub_task #1499

Closed
ghost opened this issue Jan 4, 2020 · 1 comment · Fixed by #1533
Closed

Jormungandr - logs - poldercast / policy log task / sub_task #1499

ghost opened this issue Jan 4, 2020 · 1 comment · Fixed by #1533
Assignees

Comments

@ghost
Copy link

ghost commented Jan 4, 2020

Describe the bug
When logging 'move node to quarantine' message, 'task' key is used twice.

Mandatory Information
jcli 0.8.5 (HEAD-3db0680, release, linux [x86_64]) - [rustc 1.40.0 (73528e339 2019-12-16)]
jormungandr 0.8.5 (HEAD-3db0680, release, linux [x86_64]) - [rustc 1.40.0 (73528e339 2019-12-16)]

To Reproduce
Steps to reproduce the behavior:

  1. Start a node with debug log level a plain output.
  2. At some point the following is logged:
    Jan 04 01:01:06.999 DEBG move node to quarantine, id: 02a29f423fa669a7ada6effc58c0cb383b3395a38cffe429, task: policy, task: poldercast
  3. Key 'task' is used twice
    4 Restart the node with json output.
  4. 'policy' value is missing

Expected behavior
One of the value policy or poldercast should have another key

@ghost ghost changed the title Jormungandr - poldercast / policy log task / sub_task Jormungandr - logs - poldercast / policy log task / sub_task Jan 4, 2020
@eugene-babichenko eugene-babichenko self-assigned this Jan 6, 2020
@eugene-babichenko
Copy link
Contributor

Related slog-rs/slog#211

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants