joplin
joplin copied to clipboard
When printing sync target info to the log, filter the data
Currently during sync, the full sync info is printed to the log. It contains a lot of unnecessary information and should be filtered out:
-
masterKeys_
: Thecontent
andchecksum
properties should be removed -
ppk_.value.privateKey
: The first 20 characters and last 20 characters should be kept, and the rest removed (replaced by "...") -
ppk_.value.publicKey
Keep the first 40 characters
I understood the issue, but I am not able to find where have we defined sync Info schema, also when you are talking about the log where are you pointing exactly?
ppk_.value.privateKey: The first 20 characters and last 20 characters should be kept, and the rest removed (replaced by "...") ppk_.value.privateKeyKeep the first 40 characters
I am having confusion do you want to keep first 40 characters or the first point??
ppk_.value.privateKey: The first 20 characters and last 20 characters should be kept, and the rest removed (replaced by "...") ppk_.value.privateKey:Keep the first 40 characters
I think one of them shoul be ppk_.value.publicKey