You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (Jira)" <ji...@apache.org> on 2022/03/09 21:37:00 UTC

[jira] [Updated] (GEODE-10055) AbstractLauncher print info and debug with stderr instead of stdout

     [ https://issues.apache.org/jira/browse/GEODE-10055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Anthony Baker updated GEODE-10055:
----------------------------------
    Labels: pull-request-available  (was: needsTriage pull-request-available)

> 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.1#820001)