Skip to content

Add more logging #169

@tolik518

Description

@tolik518
  • What we're getting (if check_posts/check_mentions is true), like Getting comments, posts, inbox
  • How many comments total were returned by the api (comments.len())
  • How long we sleep for (reply and polling)
  • What the current ratelimit values are, like 504s till reset, 783 requests remaining
  • the current last_ids values, like Last ids were t1_msu372s (comments) t3_msu42sa (posts) t1_ue14n2s (inbox)

In general, I would use debug for data useful while developing/debugging (duh), logged once a loop or reply at most. And trace could be used for stuff that happens every gotten comment, though I have no ideas, what could be useful there.

Originally posted by @Aras14HD in #167 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions