ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Magda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-944) HTTP REST log command doesn't work
Date Mon, 25 Jan 2016 09:38:40 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114959#comment-15114959

Denis Magda commented on IGNITE-944:


'ignite.log' seems to be created by some tests including the one that validates this functionality
contributed by you.
Also the log file name and location may be dependent on a kind of logger that is used along
with ignite.

In general, I started an ignite node from sources (using ExampleNodeStartup) and saw that
the file in ignite-XXXXXXXX.log format was used.

My assumption is that we can a current file name using a code snippet below.

String fileName;
        if (log.fileName() != null)
            fileName = log.fileName(); // Will return absolute path.
            fileName = "work/log/ignite.log";

Saikat, please test such a solution on your side. It should work.

> HTTP REST log command doesn't work
> ----------------------------------
>                 Key: IGNITE-944
>                 URL: https://issues.apache.org/jira/browse/IGNITE-944
>             Project: Ignite
>          Issue Type: Bug
>          Components: general, newbie
>    Affects Versions: sprint-5
>            Reporter: Sergey Kozlov
>            Assignee: Saikat Maitra
> Request http://localhost:8080/ignite?cmd=log&to=1&from=0 returns following
> {noformat}
> {"error":"Failed to find registered handler for command: LOG","response":null,"sessionToken":"","successStatus":1}
> {noformat}

This message was sent by Atlassian JIRA

View raw message