Skip to content

Extra date, count info printed every time command is run #75

Open

Description

@rileykav

When I run reminders <anything> it prints a date-time and info line, with 'Store' and 'Account' counts, unlike all the examples which give a bare output. This is not helpful and just bogs up the screen. Here is the line that prints (I don't know what the no./.s in the [] are, but they seem very random each time, only matching a few of the initial numbers on a repeated command):

$ preview show-all
2024-01-23 21:45:35.390 reminders[potentially-private-no.s] XXX: countOfStores: 1, countOfAccounts: 1
ToDo: 0: Homework
.
.
.

I also tried to reach through the code database for a print statement of some sort, but couldn't find one/am not proficient with this code, and as it happens with every command (even --help), it seems like some deeper logic.

Activity

  1. keith commented on Jan 23, 2024

    @keith
    Owner

    Interesting, I don't see this one, I assume this is some output from macOS based on your settings / version, what's your macOS version? (I don't see it on 14.2.1)

  2. rileykav commented on Jan 23, 2024

    @rileykav
    Author

    I am on 12.6.8

  3. keith commented on Jan 23, 2024

    @keith
    Owner

    we could try to poke around macOS internals to see if there's a default that we could flip to silence this. in the meantime you can probably wrap your reminders invocations with reminders "$@" 2>/dev/null to silence this

  4. ap commented on Jun 10, 2024

    @ap

    Same issue here (on 12.7.5).

  5. keith commented on Jun 11, 2024

    @keith
    Owner

    might be an old OS version thing only. If someone who can repro wants to debug i assume we could dup the stderr file descriptor and just swallow those errors, potentially printing them if we fail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions