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] Use HTML::FormatExternal to allow external HTML → text formatters · bestpractical/rt@c40ba50 · GitHub

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

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.

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