diff options
author | Norbert Preining <preining@logic.at> | 2017-11-11 07:34:43 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2017-11-11 07:34:43 +0000 |
commit | 4daaf989ebd5bda2420b2d635bc9ed2a46645b44 (patch) | |
tree | bc436d3f3f93f6beea2e69663d47a79bd030e29c /Master/tlpkg/TeXLive | |
parent | c0a4ac7b732216ab4a37bd361942cc8b53265957 (diff) |
debug prints to STDERR not STDOUT
git-svn-id: svn://tug.org/texlive/trunk@45748 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive')
-rw-r--r-- | Master/tlpkg/TeXLive/TLUtils.pm | 6 |
1 files changed, 3 insertions, 3 deletions
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); } |