1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

devel/ada-util: Quiet down hardcoded loggers

Loggers are hardcoded for several packages at the INFO level which is
quite useless for things like spawning commands.  It is too chatty!
Set the loggers to filter out everything up less than ERROR messages.
This commit is contained in:
John Marino 2015-11-23 22:30:10 +00:00
parent 7878a5ea8e
commit 0349e409ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402335

View File

@ -3,6 +3,7 @@
PORTNAME= ada-util
PORTVERSION= 1.8.0
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= marino@FreeBSD.org
@ -37,6 +38,20 @@ post-patch:
@${REINPLACE_CMD} -e '/Content_Type/d' \
${WRKSRC}/src/http/util-http-rest.adb
# Loggers are hardcoded for several packages at the INFO level
# which is quite useless for things like spawning commands.
# Set the loggers to filter out everything up less than ERROR
@${REINPLACE_CMD} -e '/Loggers.Create/s|);|, Util.Log.ERROR_LEVEL);|'\
${WRKSRC}/src/http/aws/util-http-clients-web.adb \
${WRKSRC}/src/http/curl/util-http-clients-curl.adb \
${WRKSRC}/src/http/util-http-clients.adb \
${WRKSRC}/src/http/util-http-parts.adb \
${WRKSRC}/src/util-beans-factory.adb \
${WRKSRC}/src/util-processes.adb \
${WRKSRC}/src/util-properties-bundles.adb \
${WRKSRC}/src/xml/util-serialize-io-xml.adb
post-install:
${RM} -r ${STAGEDIR}${PREFIX}/lib/gnat/manifests