Skip to content

RPC server: Long Log Messages #654

Closed

Description

@gaia

Feature Request

Summary

Syslog has trouble handling these long strings (see below). Not sure if they are even needed in logs, but it would surely be great to be able to suppress them, even if syslog gets adjusted to handle them (max message size), just to spare disk IO and reduce log size.

Problem Definition

https://paste2.org/xbEIvUhb

Acceptance criteria

  • truncate the log output in the example above
    • decide if the txs raw bytes are useful in the log in the first place (most likely not useful)
      • if useful: keep a truncated version;
      • if not useful: remove the txs bytes entirely from the log output

Activity

  1. added
    enhancement
    needs-triage
    on Apr 5, 2023
  2. added
    good first issue
    logs
    and removed
    needs-triage
    on Apr 27, 2023
  3. adizere commented on Apr 27, 2023

    @adizere
    Contributor

    Excellent feedback, thanks for logging the issue @gaia !

    Will track this under #54, looks like a relatively low-hanging fruit.

  4. changed the title [-]Long Log Messages[/-] [+]RPC server: Long Log Messages[/+] on Apr 27, 2023
  5. thanethomson commented on May 12, 2023

    @thanethomson
    Contributor

    What's a good maximum log length here?

  6. self-assigned this
    on May 12, 2023
  7. moved this from Todo to In Progress in CometBFT 2023on May 12, 2023
  8. added this to the 2023-Q2 milestone on May 12, 2023
  9. gaia commented on May 14, 2023

    @gaia
    Author

    What's a good maximum log length here?

    See #829 (comment)

  10. moved this from In Progress to Done in CometBFT 2023on May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementgood first issuelogs

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions