Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 22:30:10 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402335 - head/devel/ada-util
Message-ID:  <201511232230.tANMUALi042859@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Nov 23 22:30:10 2015
New Revision: 402335
URL: https://svnweb.freebsd.org/changeset/ports/402335

Log:
  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.

Modified:
  head/devel/ada-util/Makefile

Modified: head/devel/ada-util/Makefile
==============================================================================
--- head/devel/ada-util/Makefile	Mon Nov 23 21:56:14 2015	(r402334)
+++ head/devel/ada-util/Makefile	Mon Nov 23 22:30:10 2015	(r402335)
@@ -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
 



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