zanonmark / Google-4-TbSync

This provider add-on adds Google synchronization capabilities to TbSync. Only contacts and contact groups are currently managed, using Google's People API.
Mozilla Public License 2.0
51 stars 7 forks source link

Spams to /var/log/syslog? #34

Closed tsbertalan closed 2 years ago

tsbertalan commented 2 years ago

Is there any way to get this plugin to stop outputting into /var/log/syslog? I'm finding that my log is spammed with basically complete dumps of my contacts list every few minutes, starting with "AddressBookSynchronizer" and "PeopleAPI.getResponseData" among other things.

It's possible these log insertions aren't due to this plugin--I first asked the author of AddressBookSynchronizer, who kindly pointed out that these log strings wouldn't appear with his plugin, but are likely to with things connected with the Google PeopleAPI. I believe that's this plugin.

tsbertalan commented 2 years ago

Ah, I suppose it's implied by the title, but this is on Linux (Ubuntu 20.04).

hrford commented 2 years ago

I'm using Xubuntu 20.04 and have just installed TbSync. I don't see any spam in syslog but also didn't enable debug logging. I don't have an issue at the moment but would be happy to help test. Tag me if you need that.

zanonmark commented 2 years ago

Hi,

yes, this plugin is using console.log(): how much, depends on the 'Verbose logging' flag.

So the question should be: is it possible for Thunderbird to not log to syslog? I'm sorry, I don't know if that's possible.

Thanks, MZ

tsbertalan commented 2 years ago

@zanonmark I'm not sure how that flag is set for me. Is this global to Thunderbird, or specific to this plugin? How could I check one way or another?

zanonmark commented 2 years ago

It's specific to this plugin; see screenshot.

Screenshot_2022-04-24_16-40-01

Thanks, MZ

tsbertalan commented 2 years ago

Well, that box is currently unchecked (not sure when that happened), and I don't see any AddressBook in my syslog, until I go back to syslog.5.gz (April 21). So I guess that solves it for me.

zanonmark commented 2 years ago

Before the last version, everything was fully logged. The last one introduced this checkbox, disabled by default. You probably just updated the add-on :)

Thanks, MZ

tsbertalan commented 2 years ago