Mailing List Archive

RT 4.2.10 regression: HTML -> text conversion message for scripts on STDERR
Hi,

found a little regression in RT 4.2.10.

RT 4.2.10 started to log a info message which tool is used for HTML ->
text conversion [1].

This leads to all scripts, which don't change the default STDERR output
level (info), to log the above message to STDERR.

For example for sbin/rt-email-dashboards you get this send by cron every
hour.

Chris

[1] https://github.com/bestpractical/rt/commit/c40ba50

Christian Loos
Smallworld GIS Operations
_________________________________________________________________________
NETCOLOGNE Gesellschaft für Telekommunikation mbH
Am Coloneum 9 | 50829 Köln
Tel: 0221 2222-276 | Fax: 0221 2222-7276 | Mobil: 0177 8888276

www.netcologne.de

Geschäftsführung:
Jost Hermanns
Mario Wilhelm
Vorsitzender des Aufsichtsrates:
Dr. Andreas Cerbe
HRB 25580, AG Köln


Diese Nachricht (inklusive aller Anhänge) ist vertraulich. Sollten Sie diese Nachricht versehentlich erhalten haben, bitten wir, den Absender (durch Antwort-E-Mail) hiervon unverzüglich zu informieren und die Nachricht zu löschen. Die E-Mail darf in diesem Fall weder vervielfältigt noch in anderer Weise verwendet werden.
Re: RT 4.2.10 regression: HTML -> text conversion message for scripts on STDERR [ In reply to ]
On Thu, 5 Mar 2015 08:55:05 +0100 Christian Loos <cloos@netcologne.de>
wrote:
> found a little regression in RT 4.2.10.
>
> RT 4.2.10 started to log a info message which tool is used for HTML ->
> text conversion [1].
>
> This leads to all scripts, which don't change the default STDERR
> output level (info), to log the above message to STDERR.
>
> For example for sbin/rt-email-dashboards you get this send by cron
> every hour.

Hm; fair point. I'd probably be fine stepping this down to a debug
level warning. I do think that most of the automated command-line tools
should default to logging only at "warning", but there's no great way
to do that at current. 3ce1ac4ee and a2afc4e4 are a step in this
direction, but in 4.2 they explicitly only are used in non-cron
situations.

- Alex