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

Logs the entire uploaded database at INFO level #61

Open
pmahoney opened this issue Feb 11, 2017 · 0 comments
Open

Logs the entire uploaded database at INFO level #61

pmahoney opened this issue Feb 11, 2017 · 0 comments

Comments

@pmahoney
Copy link

pmahoney commented Feb 11, 2017

I ran the server and sync'd with Anki. I saw this in the logs:

INFO:root:CollectionThread[.../collections/anki/collection.anki2]:
Running operation_upload(*['SQLite format... (the entire contents of my deck, in sqlite3 format)

I happened to be running in an Emacs terminal at the time, which is very slow to print output, and the sync operation timed-out. I set the log level to ERROR, and everything seemed to work OK.

But, I don't ever want the entire contents of my uploaded decks to appear in log output. Can this log line be modified to not include the entire contents, or at least bump to DEBUG level?

See https://github.com/dsnopek/anki-sync-server/blob/2.0.6/AnkiServer/threading.py#L91

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

No branches or pull requests

1 participant