www-apps/pleroma: Improved syslog config.

Package-Manager: Portage-2.3.66, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
This commit is contained in:
tastytea 2019-07-27 06:13:00 +02:00
parent 4c21a3750f
commit 44a56bc1f8
Signed by untrusted user: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 15 additions and 7 deletions

View File

@ -1,12 +1,13 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
EBUILD pleroma-1.0.1.ebuild 3474 BLAKE2B f4abed08dcee91e57e0761e147c93035fa2f9d2d720a64ba9f641df30e950c766e0d65117dc0d8f2d4c15c1966e7d009fb0f10cde8d0b05580a3ea9ec083efe9 SHA512 028c55df606e2cc6ba90489a511bf4ee5f0cc82ed0fb1a0ce31912005d3cd1cee279fbe9e23a95f2a6bdd5ac54daceee926b61e8b1e1660c712d06937a308c90
AUX syslog.exs 193 BLAKE2B 63ec05041a10b7f3a5c7fbd8bf454819eafbd98efd635a2888d7db7333e212a872ea212889bb9ee81c1810bf9f55d6d7d7133e0a6619d23c9e3bdcac04d70c73 SHA512 fd47e00575a64cd519a1229ca429059eb9ca5c0a1e8454b56995606e25f9fcfad0107d92207eab41aad36ccf30b506a5475781225274fc55841fd55ec74928f1
EBUILD pleroma-1.0.1.ebuild 3372 BLAKE2B 87f1cad4fc3fffab3ebbca3b31305d2416a7ee063bc8a9d7a35ed95f3810426d6156f3a94eef54c91244592b5f89337a91705350339ba324467baebe68e5c07c SHA512 b1edd42895dab885d09be253de19ee6f0207b2b02afbd9f69ff5057566b7063494c1a7590ece725764df2b30781a206643999aacf76883f06ee5e75db8733131
MISC metadata.xml 993 BLAKE2B adc5c72fe12b6fdb4eb20c1d79dde227b088b437ffd21d16cc5775fa5bb7fa6363890dd5017fbe7f5a00a794a38fb298ce17e6402f6d3d5441985effd0d7e1db SHA512 6ff23fa60c0f22ef7a433e3d1b4919d074508898504b7168c925da8840f542afcdc891a9f4df69dc8eb6c44b7d9c41e6b94fdecd404ca738169124bcdab0af0d
-----BEGIN PGP SIGNATURE-----
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXSulbQAKCRDPw5SX8bJu
BwfzAP9CiqtMDzZ7rO450NUKul+IVHXOcn2pNGvEpIi3GQIQEgD/QhlzenstnkSn
LfQj/MI4uU18A3TKMsLF9K2sASoX15w=
=S09K
iHUEAREIAB0WIQQ1VSZoZMptf/RapufPw5SX8bJuBwUCXTvPTAAKCRDPw5SX8bJu
B8WVAP9T15pYSDF69DNX8j+a471rNWSiuQVfWXjbsHKknsJBOwD/dz2S/Eny+tHV
tm9bLJ3RtfJwRSkGwTOcV8YgTwrOIK4=
=Thr9
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,8 @@
config :logger,
backends: [{ExSyslogger, :ex_syslogger}]
config :logger, :ex_syslogger,
level: :warn,
ident: "pleroma",
format: "$metadata[$level] $message",
metadata: [:request_id]

View File

@ -79,8 +79,7 @@ pkg_config() {
if use syslog; then
einfo "Activating syslog in ${configfile} ..."
echo -e "config :logger,\n backends: [{ExSyslogger, :ex_syslogger}]\n\n" \
"config :logger, :ex_syslogger,\n level: :warn'" >> ${configfile}
cat "${FILESDIR}/syslog.exs" >> ${configfile}
fi
einfo "Creating the database..."