Date: Tue, 25 Dec 2018 11:05:15 -0500 From: Jon Radel <jon@radel.com> To: Victor Sudakov <vas@mpeks.tomsk.su> Cc: freebsd-questions@freebsd.org Subject: Re: newsyslog gone mad Message-ID: <976B9918-6BA0-428C-ABC3-6FBE0498D1F0@radel.com> In-Reply-To: <20181225133944.GA75676@admin.sibptus.ru> References: <20181225133944.GA75676@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-9B31AB2A-4348-457C-BC8E-6DD01B3456F6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >=20 > Here is the relevant line from /etc/newsyslog.conf: > /usr/home/www/*/logs/* 644 24 * @01T00 GZ /var/run/= httpd.pid >=20 I=E2=80=99ve never tried this particular breakage in newsyslog, but generall= y it=E2=80=99s best to match only what you want to rotate. Try > /usr/home/www/*/logs/*_log 644 24 * @01T00 GZ /var/r= un/httpd.pid =E2=80=94Jon Radel= --Apple-Mail-9B31AB2A-4348-457C-BC8E-6DD01B3456F6 Content-Type: application/pkcs7-signature; name=smime.p7s Content-Disposition: attachment; filename=smime.p7s Content-Transfer-Encoding: base64 MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCBfAw ggXsMIIE1KADAgECAhB0A68kwGGhLIJ3D/GhluqOMA0GCSqGSIb3DQEBCwUAMIGXMQswCQYDVQQG EwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYD VQQKExFDT01PRE8gQ0EgTGltaXRlZDE9MDsGA1UEAxM0Q09NT0RPIFJTQSBDbGllbnQgQXV0aGVu dGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTAeFw0xODAzMDQwMDAwMDBaFw0yMTAzMDMyMzU5 NTlaMIH6MQswCQYDVQQGEwJVUzEOMAwGA1UEERMFMjIxNTAxCzAJBgNVBAgTAlZBMRQwEgYDVQQH Ew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TWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0 ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUg RW1haWwgQ0ECEHQDryTAYaEsgncP8aGW6o4wgb8GCyqGSIb3DQEJEAILMYGvoIGsMIGXMQswCQYD VQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRow GAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDE9MDsGA1UEAxM0Q09NT0RPIFJTQSBDbGllbnQgQXV0 aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQQIQdAOvJMBhoSyCdw/xoZbqjjANBgkqhkiG 9w0BAQEFAASCAQANv4K+VVVSxA+03/AlnrBLods/b96fdNXBngwDMqtNixUKkHuZdiu7i48YC3yP 8xgnfwNAyrhuWlxKLRD3M/XjFl7CZ2MMzkxdImhGTr+kbYGc4jF5+VwhHpqqTLDXvUHeb4HsvEAW 7/UvBkQlpzpms64SJ8zX17zCyQRmoywTl0z0qeZa0BYyHAeBqtDJQIrpqILUuDwvJL1B5dUYwFi0 QVKKHDBmN9q9bgDdMYDayG7ACiCfc3yScJ5ZZ5mQP29xFQgmviRIdwE3grIpYPynEK3BeKx5frrC Ef/ZdOGkCGyNws8OR2aV/G7V09SEsw04uUBAfDWMQUTz7x6GIyLwAAAAAAAA --Apple-Mail-9B31AB2A-4348-457C-BC8E-6DD01B3456F6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?976B9918-6BA0-428C-ABC3-6FBE0498D1F0>