Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2018 20:39:44 +0700
From:      Victor Sudakov <vas@mpeks.tomsk.su>
To:        freebsd-questions@freebsd.org
Subject:   newsyslog gone mad
Message-ID:  <20181225133944.GA75676@admin.sibptus.ru>

next in thread | raw e-mail | index | archive | help

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Dear Colleagues,

On one of my Web servers, newsyslog went mad and sliced up the logs into
hundreds of thousands of small files like

=2E/access_log.2.gz.13.gz.1.gz
=2E/access_log.2.gz.5.gz.3.gz.7.gz
=2E/access_log.2.gz.8.gz.3.gz
=2E/access_log.2.gz.9.gz.2.gz
=2E/access_log.2.gz.8.gz.1.gz.1.gz
=2E/access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.4.gz
=2E/access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz
=2E/access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz.2.gz
=2E/access_log.2.gz.5.gz.1.gz.2.gz.1.gz.0.gz
=2E/access_log.2.gz.13.gz.0.gz
=2E/access_log.3.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz.1.gz
=2E/access_log.2.gz.6.gz.1.gz.5.gz.0.gz
=2E/access_log.3.gz.1.gz.1.gz.1.gz.2.gz.2.gz

Most of those files are one- or two-liners only with=20

Nov  1 00:00:00 www2 newsyslog[8804]: logfile turned over
Dec  1 00:00:00 www2 newsyslog[72418]: logfile turned over

in them.

What was that?=20

Here is the relevant line from /etc/newsyslog.conf:
/usr/home/www/*/logs/*                 644  24    *    @01T00 GZ /var/run/h=
ttpd.pid


--=20
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49@fidonet http://vas.tomsk.ru/

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJcIjMgAAoJEA2k8lmbXsY0bmcH/ihGcN4kXxcSQ8Umz+XfSQYy
Kx960hFuDH340W+GsTnUX62OQbdWGU+htnred6RsJB9OKDzMNnC9Em9bMFJ3LN+7
hpvtjVxT4xDKFVLZiiuAdv2fUFkAbTn2Tt5KveAAVUgfVnb0B5xcXVpOxk2uqt5v
l7elm303hJ3vXLOy+gO2aYGLGMTRA76skWYMgUoQqpks74uAFcBWHvcCuu/FzUxP
rxB1mJ35el3TBddz7Ddssbh9UIDezBmtX6jH+xNprYweLwyo8IUOlXodW1D/Gfry
bZEEwByhE9wAse5bIlRUTRGeyVGmORW8GQtrsWon3468gLilWPuZ2+iagD3w+dE=
=21RB
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181225133944.GA75676>