Re: Apache logs and systemd

2023-06-16 Thread Andy Smith
Hello, On Fri, Jun 16, 2023 at 12:38:40PM -0500, Tom Browder wrote: > I should have mentioned in OP the logs are in a dir under my own apache > installation dir, and they are text files. I’ll try to get “logrotate” to > take them over. It should happen by default. Normally logrotate is called

Re: Apache logs and systemd

2023-06-16 Thread Tom Browder
On Thu, Jun 15, 2023 at 16:57 Andy Smith wrote: > Hi Tom, > > On Thu, Jun 15, 2023 at 01:52:10PM -0500, Tom Browder wrote: > > Maybe it's related to the rsyslog changes ? > > apache by default does not use a syslog for logging though, it … Thanks, Andy. I should have mentioned in OP the logs

Re: Apache logs and systemd

2023-06-15 Thread Andy Smith
Hi Tom, On Thu, Jun 15, 2023 at 01:52:10PM -0500, Tom Browder wrote: > Maybe it's related to the rsyslog changes ? apache by default does not use a syslog for logging though, it writes logfiles itself directly. On a normal Debian distribution these are rotated by the logrotate package. So any

Re: Apache logs and systemd

2023-06-15 Thread Tom Browder
On Wed, Jun 14, 2023 at 13:18 zithro wrote: > On 14 Jun 2023 19:30, Tom Browder wrote: ... > I’ve been running httpd for many years, long before systemd came along. > > Somewhere in the various upgrades over the years I lost the old rotating > > logs. > > Now I would like to initiate the

Re: Apache logs and systemd

2023-06-15 Thread Tom Browder
On Wed, Jun 14, 2023 at 13:15 Greg Wooledge wrote: > On Wed, Jun 14, 2023 at 12:30:37PM -0500, Tom Browder wrote: .., > If you want text log FILES (e.g. /var/log/whatever), install the rsyslog > package. For rotation, install logrotate. Thank you. ... > Systemd by itself only creates

Re: Apache logs and systemd

2023-06-14 Thread zithro
On 14 Jun 2023 19:30, Tom Browder wrote: I’ve been running httpd for many years, long before systemd came along. Somewhere in the various upgrades over the years I lost the old rotating logs. Now I would like to initiate the rotating logs again. Can I do that with systemd somehow? Isn't that

Re: Apache logs and systemd

2023-06-14 Thread Greg Wooledge
On Wed, Jun 14, 2023 at 12:30:37PM -0500, Tom Browder wrote: > I’ve been running httpd for many years, long before systemd came along. > Somewhere in the various upgrades over the years I lost the old rotating > logs. > > Now I would like to initiate the rotating logs again. Can I do that with >

Apache logs and systemd

2023-06-14 Thread Tom Browder
I’ve been running httpd for many years, long before systemd came along. Somewhere in the various upgrades over the years I lost the old rotating logs. Now I would like to initiate the rotating logs again. Can I do that with systemd somehow? Thanks, -Tom