Skip to content

Conversation

@swrap
Copy link

@swrap swrap commented Nov 8, 2025

Allow for more verbose logging to help debug issues when its polling and what information it has.

@AdSchellevis
Copy link
Member

It's probably better to extend the existing log messages with missing data, most of this already ends up in the log here

if acc.execute():
if self.is_verbose:
syslog.syslog(syslog.LOG_NOTICE, "Account %s updated" % acc.description)
needs_flush = True
else:
if self.is_verbose:
syslog.syslog(syslog.LOG_NOTICE, "Account %s not modified" % acc.description)
# update last accessed timestamp
acc.update_state(None)
except Exception as e:
# fatal exception, update atime so we're not going to retry too soon
acc.update_state(None)
syslog.syslog(syslog.LOG_ERR, "Account %s raised fatal error (%s)" % (acc.description, e))

acc.current_address is likely the most relevant missing part here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants