[
https://issues.apache.org/jira/browse/GEODE-10055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17565328#comment-17565328
]
ASF subversion and git services commented on GEODE-10055:
---------------------------------------------------------
Commit a88c8b55c52f31539cf2e940c2d444b97a69e92f in geode's branch
refs/heads/develop from Mario Kevo
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a88c8b55c5 ]
GEODE-10055: fix AbstractLauncher to print info and debug with stdout (#7368)
* GEODE-10055: fix AbstractLauncher to print info and debug with stdout instead
of stderr
> AbstractLauncher print info and debug with stderr instead of stdout
> -------------------------------------------------------------------
>
> Key: GEODE-10055
> URL: https://issues.apache.org/jira/browse/GEODE-10055
> Project: Geode
> Issue Type: Bug
> Components: logging
> Affects Versions: 1.12.8, 1.13.7, 1.14.3
> Reporter: Mario Kevo
> Assignee: Mario Kevo
> Priority: Major
> Labels: pull-request-available
>
> The problem happened with locator/server launcher logs which are printed with
> stderr in both cases, for info and debug.
> {code:java}
> protected void info(final Object message, final Object... args) {
> if (args != null && args.length > 0) {
> System.err.printf(message.toString(), args);
> } else {
> System.err.print(message);
> }
> }
> {code}
> And when it is redirected to some tools it represents it like an error as it
> is printed with stderr, instead of stdout.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)