Error Logging - what changed with the New Year releases?
Apart from all the defaults in settings.py (derived from gitlab), I also have this line: LOGGING['handlers']['file']['filename'] = '/opt/mailman/mm/var/logs/mailmanweb.log'
Before the New Year releases of MM3, I used to get errors written to this file. Not anymore after I updated to the New Year releases. Another thing that I have realized is that prior to the New Year releases, I would get an error logged to that file and also mailed to me. I don't think that I have changed anything in settings,py related to logging.
I have been trying to get signup with Twitter working. This used to generate an error that was both logged and emailed, but that isn't happening anymore. I have enabled other social auth providers (in settings.py) which I haven't configured in the admin panel. I expect that tying to use these on Postorius would generate an error that is logged and mailed to admin, but that too is not happening. Just checking out what might have changed - or if I am going nuts :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
On 1/14/23 01:19, Odhiambo Washington wrote:
Apart from all the defaults in settings.py (derived from gitlab), I also have this line: LOGGING['handlers']['file']['filename'] = '/opt/mailman/mm/var/logs/mailmanweb.log'
Before the New Year releases of MM3, I used to get errors written to this file. Not anymore after I updated to the New Year releases. Another thing that I have realized is that prior to the New Year releases, I would get an error logged to that file and also mailed to me. I don't think that I have changed anything in settings,py related to logging.
Nothing in those releases per se would affect this. This is Django and django-allauth. Perhaps when you updated the Mailman packages, you also updated these dependencies.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Sat, Jan 14, 2023 at 7:13 PM Mark Sapiro <mark@msapiro.net> wrote:
On 1/14/23 01:19, Odhiambo Washington wrote:
Apart from all the defaults in settings.py (derived from gitlab), I also have this line: LOGGING['handlers']['file']['filename'] = '/opt/mailman/mm/var/logs/mailmanweb.log'
Before the New Year releases of MM3, I used to get errors written to this file. Not anymore after I updated to the New Year releases. Another thing that I have realized is that prior to the New Year releases, I would get an error logged to that file and also mailed to me. I don't think that I have changed anything in settings,py related to logging.
Nothing in those releases per se would affect this. This is Django and django-allauth. Perhaps when you updated the Mailman packages, you also updated these dependencies.
Which dependencies would those be? When I upgraded, the command I ran was:
pip install --upgrade --force mailman mailmanclient postorius hyperkitty mailman-hyperkitty django-mailman3
And how do I find out what is suppressing the logging for the social accounts?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
On 1/14/23 11:44, Odhiambo Washington wrote:
On Sat, Jan 14, 2023 at 7:13 PM Mark Sapiro <mark@msapiro.net> wrote:
Nothing in those releases per se would affect this. This is Django and django-allauth. Perhaps when you updated the Mailman packages, you also updated these dependencies.
Which dependencies would those be?
Django and django-allauth.
When I upgraded, the command I ran was:
pip install --upgrade --force mailman mailmanclient postorius hyperkitty mailman-hyperkitty django-mailman3
Do you mean --force-reinstall? pip has no --force option. I *think* --force-reinstall will upgrade dependencies. Depending on your pip version, --upgrade alone may or may not upgrade dependences. Older versions of pip will, but newer versions, at least without --force-upgrade require --upgrade-strategy eager to update dependencies.
And how do I find out what is suppressing the logging for the social accounts?
That's a django-allauth question.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Sat, Jan 14, 2023 at 11:57 PM Mark Sapiro <mark@msapiro.net> wrote:
On 1/14/23 11:44, Odhiambo Washington wrote:
On Sat, Jan 14, 2023 at 7:13 PM Mark Sapiro <mark@msapiro.net> wrote:
Nothing in those releases per se would affect this. This is Django and django-allauth. Perhaps when you updated the Mailman packages, you also updated these dependencies.
Which dependencies would those be?
Django and django-allauth.
(venv) [mailman@gw ~/mm]$ pip freeze | grep jango Django==4.1.5 django-allauth==0.52.0 django-appconf==1.0.5 django-compressor==4.1 django-extensions==3.2.1 django-gravatar2==1.4.4 django-haystack==3.2.1 django-mailman3==1.3.9 django-picklefield==3.1 django-q==1.3.9 djangorestframework==3.14.0
When I upgraded, the command I ran was:
pip install --upgrade --force mailman mailmanclient postorius hyperkitty mailman-hyperkitty django-mailman3
Do you mean --force-reinstall? pip has no --force option. I *think* --force-reinstall will upgrade dependencies. Depending on your pip version, --upgrade alone may or may not upgrade dependences. Older versions of pip will, but newer versions, at least without --force-upgrade require --upgrade-strategy eager to update dependencies.
I have used --force-reinstall.
And how do I find out what is suppressing the logging for the social accounts?
That's a django-allauth question.
Let me go RTFM again :-)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
On 1/15/23 01:49, Odhiambo Washington wrote:
(venv) [mailman@gw ~/mm]$ pip freeze | grep jango Django==4.1.5 django-allauth==0.52.0
Those are the latest stable versions, so your upgrade probably did upgrade them.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Odhiambo Washington