ignite-issues mailing list archives

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

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

Saikat Maitra commented on IGNITE-944:
--------------------------------------

[~dmagda]

Thank you Denis. I have implemented the log filename path as you mentioned in the below PR.

https://github.com/apache/ignite/pull/420

I used the ExampleNodeStartUp class but that didn't started the GridJettyRestProtocol. I started
the node  using following command and was able to test. The below command creates the ignite.log
in work/log folder in IgniteHome.

$ bin/ignite.sh examples/config/example-ignite.xml

Also user can pass the filename in the url to fetch the desired log. This will be helpful
when logrotate in log4j2.xml configuration create multiple log files or user is interested
in log of a specific node in multi node cluster. 


Regards
Saikat

> 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
(v6.3.4#6332)

Mime
View raw message