On Fri, Dec 23, 2022 at 4:29 AM Mark Sapiro <mark@msapiro.net> wrote:
On 12/22/22 16:03, Odhiambo Washington wrote:
There is just one more thing - I have this in settings.py: LOGGING['handlers']['file']['filename'] = '/opt/mailman/mm/var/logs/mailmanweb.log'
And what are LOGGING['handlers']['file']['level'], LOGGING['handlers']['file']['class'] and LOGGING['handlers']['file']['formatter']
Those are left as defaults in my setup.py.
However, the referenced file is ever empty. At what point is it supposed to record anything?
What is logged depends on
level
but even withDEBUG
not much routine stuff is logged. See https://docs.djangoproject.com/en/3.2/topics/logging/
I will read that and see if I get to pick up something.
And now I am having a problem with mod_wsgi. First, the URL displayed when I load the page looks bogus to me. While I expect the URL to be https://mm3-lists.kictanet.or.ke/mailman3/domains/, mod_wsgi give me https://mm3-lists.kictanet.or.ke/mailman3/mailman3/domains/ - there is an extra /mailman3!
So I have;
- https://mm3-lists.kictanet.or.ke/mailman3/mailman3/lists/ - working, or appears to.
- https://mm3-lists.kictanet.or.ke/mailman3/mailman3/domains/ - working, or appears to.
- https://mm3-lists.kictanet.or.ke/mailman3/mailman3/bans/ - working, or appears to
- https://mm3-lists.kictanet.or.ke/mailman3/mailman3/users - working, or appears to
- https://mm3-lists.kictanet.or.ke/mailman3/mailman3/lists/kictanet.lists.kict...
- This throws an exception error when I click "Manage Subscription".
-> https://pastebin.ubuntu.com/p/RkKH793Jgw/
And while I do not quite understand the error itself, there is also one particular line that I also saw that has left me baffled: [Fri Dec 23 08:53:18.290411 2022] [core:info] [pid 91236] [client 197.232.81.246:13865] AH00128: File does not exist: /usr/local/www/apache24/data/archives/list/ kictanet@lists.kictanet.or.ke/thread/VIHCC6MSXZSNHY7YPEJ3D2US4N7MHJEC/, refe rer: https://mm3-lists.kictanet.or.ke/archives/list/kictanet@lists.kictanet.or.ke
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)