From 4daaf989ebd5bda2420b2d635bc9ed2a46645b44 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 11 Nov 2017 07:34:43 +0000 Subject: debug prints to STDERR not STDOUT git-svn-id: svn://tug.org/texlive/trunk@45748 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Master/tlpkg/TeXLive') diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index 57d020776a2..0b533475ce8 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -3199,7 +3199,7 @@ package. sub debug { my $str = "D:" . join("", @_); return if ($::opt_verbosity < 1); - logit(\*STDOUT, 1, $str); + logit(\*STDERR, 1, $str); for my $i (@::debug_hook) { &{$i}($str); } @@ -3221,7 +3221,7 @@ each package, in addition to the first level. sub ddebug { my $str = "DD:" . join("", @_); return if ($::opt_verbosity < 2); - logit(\*STDOUT, 2, $str); + logit(\*STDERR, 2, $str); for my $i (@::ddebug_hook) { &{$i}($str); } @@ -3243,7 +3243,7 @@ levels. sub dddebug { my $str = "DDD:" . join("", @_); return if ($::opt_verbosity < 3); - logit(\*STDOUT, 3, $str); + logit(\*STDERR, 3, $str); for my $i (@::dddebug_hook) { &{$i}($str); } -- cgit v1.2.3