Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2019 11:09:43 +0100
From:      Julien Cigar <julien@perdition.city>
To:        freebsd-questions@freebsd.org
Subject:   Re: freebsd remote logging
Message-ID:  <20190115100943.GJ4293@mordor.lan>
In-Reply-To: <20190114152246.GH4293@mordor.lan>
References:  <20190114152246.GH4293@mordor.lan>

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

--pWOmaDnDlrCGjNh4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 14, 2019 at 04:22:46PM +0100, Julien Cigar wrote:
> Hello,
>=20
> I have a jail "logging" with the following configuration:
> https://gist.githubusercontent.com/silenius/a1c4fb1e67d6e62943aa3b7124ffe=
748/raw/e1f62b55e776958e3a0f8ebee53f38d6c24dd0d1/gistfile1.txt
>=20
> for some unknown reasons nothing gets logged to /var/log/haproxy*.log,
> although the logs are received.
>=20
> When I'm adding -d flags to syslgod I'm getting the following:
> https://gist.githubusercontent.com/silenius/f7a813b665a1e0cab848e45a15a33=
6b9/raw/5e527aca3482dade02af5588c5b50cfc554a3143/gistfile1.txt
>=20
> any idea what's wrong? I don't understand why the rule is
> matched/accepted but no "Logging to FILE" happens ..
>=20
> does something changed between 10.3 and 12.0 regarding this ?

this is really weird, I've tried everything and it doesn't work, is it=20
possible that there is some regression in the 12.0-RELEASE? the same
config worked in 10.4-RELEASE.

dns and reverse dns work are configured properly, tcpdumping the HOST=20
confirms that packets arrive as expected from the remote host (HAProxy),
launching the syslogd in the jail with -d confirms that messages arrive
and are parsed by syslogd but... nothing is logged to dedicated files
(except the ones from 11:01:25.185982 IP 192.168.10.34.514 >
10.209.1.31.514: SYSLOG local6.error, length: 246)

>=20
> Thanks,
> Julien
>=20
> --=20
> Julien Cigar
> Belgian Biodiversity Platform (http://www.biodiversity.be)
> PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
> No trees were killed in the creation of this message.
> However, many electrons were terribly inconvenienced.



--=20
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

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

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

iQIzBAABCgAdFiEE7vn2l0to0nV7EWolsrs3EKIEI8AFAlw9sWQACgkQsrs3EKIE
I8C83Q/7BjnmiAEsjds4mtHuncQSxsgS/eodJPMV8MyLEOu+GhRd++Sv/sdvXUoq
j7T9csrpS+uK5O2I6NFbvHn1gOy78apHD8D68Y1qV862n6vrf75vV27eRitrdsu0
SDuGYvnemF5Bg5W5QPjuUV21AOYWd6tGSEBTQLgR98GXihLyJCAAmeIL/LPFy9pC
moA0RZjfZEpyAGza7mCRuEozugeSzbwXcTCNBt2runtxr3D6Tp70Ipw1NRr4wnv2
Ou+hIDBHV6roPzSjdiNo1g0WeLnhA7C5XxsE2O/E9gcIGxVeUPjeOdKDx9kqIo/Y
ExcyqWo5e1ZqDSeutJ3aGajfHPQ4TVREIpMKW3pxNsH0R3KceCXayiUZPbxg1BBF
YYuvJ6br8ykNT+7FeEg0UKb0+yNFEMtc+DMAtvB6I2IjPCOR8MjKH8LrnreFCwDR
Pfdp+jxBYLLZSm59Uv6ebkuTVmxqbpxwR7pBzYrLoSbVspF3r00t8jSuOdz4EupL
RMnG7kQlE0I8NEOS76A73+whLloU2Lg6BzbHrve3XjECU+4ne1cJuDlMKFKX2L9R
qYyo8cj5FRNEglSpdBIwAD8RnM85c2tdP6a3tr/wxyWFSVrvJDYMSRRkYUun5ypJ
Rn71HqX909FqzHX2DIrbzb1VBgZrVVHI3aIdlmN7i9ajOOFAk1s=
=tUr4
-----END PGP SIGNATURE-----

--pWOmaDnDlrCGjNh4--



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