Re: [users@httpd] protect apache to stop work if logdir is missing

2019-09-10 Thread Anton Gorlov
10.09.2019 5:09, @lbutlr пишет: On Sep 9, 2019, at 11:21 AM, Anton Gorlov wrote: I need to provide users with the ability to archive logs on their own Yes? And? You’ve been told two ways to do this that do not require modifying the source code. pipe logs to some script/program and

Re: [users@httpd] protect apache to stop work if logdir is missing

2019-09-09 Thread Anton Gorlov
09.09.2019 19:22, D'Arcy Cain пишет: On 9/9/19 12:13 PM, Anton Gorlov wrote: 09.09.2019 19:07, @lbutlr пишет: On 9 Sep 2019, at 09:57, Anton Gorlov wrote: I need the web server to continue working if the user has deleted the log directory. I would solve this by preventing the user

Re: [users@httpd] protect apache to stop work if logdir is missing

2019-09-09 Thread Anton Gorlov
09.09.2019 19:07, @lbutlr пишет: > On 9 Sep 2019, at 09:57, Anton Gorlov wrote: >> I need the web server to continue working if the user has deleted the log >> directory. > I would solve this by preventing the user from deleting the directory or > recreating it on deletion

[users@httpd] protect apache to stop work if logdir is missing

2019-09-09 Thread Anton Gorlov
Hi! I need the web server to continue working if the user has deleted the log directory. I wrote a small patch. Are there any obvious errors in it that disrupt the operation of the web server or lead to a memory / pointer leak? Index: apache2-2.4.10/modules/loggers/mod_log_config.c ===