[BUG] Cleanup log summary too large.
See original GitHub issueDescribe the bug
Not actually sure if it’s a bug, but it’s certainly something new in 3.5.1 and it seems very unnecessary.
The issue is that for every manual clean I get a massive list of all whitelisted domains/hosts, like this:
26/08/2020, 15:28:05 CEST - Some site data, including 0 Cookie(s), removed from: bbc.com, www.bbc.com, account.bbc.com, www.discogs.com, www.last.fm, web.archive.org ... [rest of 200 entries]
Is this expected behaviour, and if it is, is there a setting to just have it write what it removed?
To Reproduce
Steps to reproduce the behavior:
- Click on extension icon
- Click on Clean
- The huge list gets generated in the log
Expected behavior
I would expect it to only show the domains it clean, not the full whitelist.
Screenshots
n/a
Your System Info (please complete the following information):
- Windows 10 Pro x64 build 2004
- Browser Info: Vivaldi 3.3.2020.3 (Chrome/85.0.4183.80)
- CookieAutoDelete Version: 3.5.1
Additional context
Might be a Vivaldi issue, I will check in older versions too.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top GitHub Comments
This is because we cannot enumerate any of those browsing data, so we blindly execute the clean function for those domains which was queried from the cookies/internal cookie.
See point above. From 3.5.1 I need to create an internal cookie (with subdomain if it has one) regardless if there’s existing cookies from that site as some sites only set the main/root domain and not the subdomain itself. (Only applies if at least one of the browsing data needs to be cleaned). Cookies are the only item we can enumerate for domain checking. The other alternative is to completely clean all the individual browsing types which would wipe it all away, regardless of domain. This is already being accomplished when you enable the browsing data cleanup option in CAD Settings.
This is because prior to 3.5.0 there was no way of knowing if browsing data got cleaned properly or was executed to be cleaned by CAD or something else.
And thus why I left it as bug again with the intent to limit the summary lines.
OK I think I understand it now, and I’m sure there are good technical reasons for why it has to work this way. My issue was that this was very different for how 3.4.0 logged its cleaning. Even with Local Storage cleaning on.
Since I was already in the process of replying anyway, here’s another screen recording, of how it worked in 3.4.0. Opened a bunch of tabs, closed them again, and triggered a clean: https://imgur.com/Uyq5lRj
Notice there are 31 deleted cookies from various domains, and subsequent triggers of Clean do not log anything else. There is also no log entry from
github.com
, even though it’s set to not keep Local Storage - because there is no Local Storage so why would it log.But now that I’ve read your reply I think I understand it. To be honest, like I said above I usually rely on the auto-clean, and rarely look at the log (I’ve even disabled clean notifications). I use the manual clean to test if CAD still works as expected, especially after an update with new features, hence this issue 😄