Hello crew,
Installing Mailam3 on FreeBSD.
In mailman.cgf, I have set:
var_dir: /usr/local/mailman/var
When I ran "mailman -C mailman.cgf info" it created the necessary directory tree. There is /usr/local/mailman/var/logs/ However, there is this process that *forced* me to create usr/local/mailman/*logs/mailmansuite.log *as opposed to it just writing to var/logs/ path above
Is there a way to make it write its log $var_dir ?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-)
On 9/29/21 4:51 AM, Odhiambo Washington wrote:
However, there is this process that *forced* me to create usr/local/mailman/*logs/mailmansuite.log *as opposed to it just writing to var/logs/ path above
Is there a way to make it write its log $var_dir ?
This is Django's log. Django knows nothing about mailman.cfg which is for core only. You can set the path in your Django settings. See LOGGING['handlers']['file']['filename']
I deal with this by creating a symlink like
/usr/local/mailman/logs -> /usr/local/mailman/var/logs
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Wed, Sep 29, 2021 at 7:56 PM Mark Sapiro <mark@msapiro.net> wrote:
On 9/29/21 4:51 AM, Odhiambo Washington wrote:
However, there is this process that *forced* me to create usr/local/mailman/*logs/mailmansuite.log *as opposed to it just writing to var/logs/ path above
Is there a way to make it write its log $var_dir ?
This is Django's log. Django knows nothing about mailman.cfg which is for core only. You can set the path in your Django settings. See LOGGING['handlers']['file']['filename']
I deal with this by creating a symlink like
/usr/local/mailman/logs -> /usr/local/mailman/var/logs
Wuah. I did not even think about a simple symlink.
Thank you so much.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' :-)
participants (2)
-
Mark Sapiro
-
Odhiambo Washington