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

Please provide guideline "How to create a log file for etesync-dav and how to redact potentially sensitive data from it" #136

Open
porg opened this issue Jun 10, 2020 · 0 comments

Comments

@porg
Copy link

porg commented Jun 10, 2020

I found no clear documentation or guidelines on how to create a logfile for supplementing a bug issue. Please write some easy to understand guidelines to encourage users to submit logs to bug reports! Otherwise it's currently a high barrier.

I found no info in the repository here.

The --help is very unclear on how logging works:

$ etesync-dav -h
[…]
-D, --debug           print debug information
[…]
logging:
  --logging-level LOGGING_LEVEL
                        threshold for the logger
  --logging-mask-passwords
                        mask passwords in logs
  --no-logging-mask-passwords
                        do not mask passwords in logs (opposite of --logging-
                        mask-passwords)

On top it talks about "debugging", on bottom about "logging".
I assume it's the same thing. But certain I am not.

So how do I activate logging? Is this going to a file in a default directory? Where? Or can I supply a logfile as an argument? Or nothing, and I just have to execute the binary on the command line and get its STDOUT/STDERR ?

--logging-level what shall I supply here? A number? A name such as "critical, verbose". No idea.

--logging-mask-passwords and --no-logging-mask-passwords. What If a supply neither of those arguments? Which one is applied by default? They are mutually exclusive, I assume.

The only rudimentary thing I could do for now is a find/replace for my email-address and ofc all the raw VCALENDAR stuff one could also redact easily with a find/replace. But no idea whether the glibberish contains my account password or encryption password or other personally identification.

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