summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/LiveActions.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2014-10-01 19:41:48 -0400
committerBernard Normier <bernard@zeroc.com>2014-10-01 19:41:48 -0400
commit8fe3c5314bcc691ab5417f23d78404daf69430ed (patch)
treebffe12a070fa68a4e9408008e4b6e7a931bca98b /java/src/IceGridGUI/LiveActions.java
parentJava packages updates (diff)
downloadice-8fe3c5314bcc691ab5417f23d78404daf69430ed.tar.bz2
ice-8fe3c5314bcc691ab5417f23d78404daf69430ed.tar.xz
ice-8fe3c5314bcc691ab5417f23d78404daf69430ed.zip
ICE-2400: new dialog to attach Remote Logger to Registry, Node, Server and IceBox service communicator
Diffstat (limited to 'java/src/IceGridGUI/LiveActions.java')
-rw-r--r--java/src/IceGridGUI/LiveActions.java21
1 files changed, 16 insertions, 5 deletions
diff --git a/java/src/IceGridGUI/LiveActions.java b/java/src/IceGridGUI/LiveActions.java
index 147a5946814..dbfbc237143 100644
--- a/java/src/IceGridGUI/LiveActions.java
+++ b/java/src/IceGridGUI/LiveActions.java
@@ -124,6 +124,17 @@ public class LiveActions
};
_array[TreeNode.WRITE_MESSAGE].putValue(Action.SHORT_DESCRIPTION, "Write message to stdout or stderr");
+
+ _array[TreeNode.RETRIEVE_ICE_LOG] = new AbstractAction("Retrieve Ice log")
+ {
+ @Override
+ public void actionPerformed(ActionEvent e)
+ {
+ _target.retrieveIceLog();
+ }
+ };
+ _array[TreeNode.RETRIEVE_ICE_LOG].putValue(Action.SHORT_DESCRIPTION, "Attach RemoteLogger to Ice logger");
+
_array[TreeNode.RETRIEVE_STDOUT] = new AbstractAction("Retrieve stdout")
{
@@ -133,7 +144,7 @@ public class LiveActions
_target.retrieveOutput(true);
}
};
- _array[TreeNode.RETRIEVE_STDOUT].putValue(Action.SHORT_DESCRIPTION, "Retrieve stdout");
+ _array[TreeNode.RETRIEVE_STDOUT].putValue(Action.SHORT_DESCRIPTION, "Retrieve stdout if redirected to file");
_array[TreeNode.RETRIEVE_STDERR] = new AbstractAction("Retrieve stderr")
{
@@ -143,17 +154,17 @@ public class LiveActions
_target.retrieveOutput(false);
}
};
- _array[TreeNode.RETRIEVE_STDERR].putValue(Action.SHORT_DESCRIPTION, "Retrieve stderr");
+ _array[TreeNode.RETRIEVE_STDERR].putValue(Action.SHORT_DESCRIPTION, "Retrieve stderr if redirected to file");
- _array[TreeNode.RETRIEVE_LOG] = new AbstractAction("Retrieve Log")
+ _array[TreeNode.RETRIEVE_LOG_FILE] = new AbstractAction("Retrieve log file")
{
@Override
public void actionPerformed(ActionEvent e)
{
- _target.retrieveLog();
+ _target.retrieveLogFile();
}
};
- _array[TreeNode.RETRIEVE_LOG].putValue(Action.SHORT_DESCRIPTION, "Retrieve log file from the server");
+ _array[TreeNode.RETRIEVE_LOG_FILE].putValue(Action.SHORT_DESCRIPTION, "Retrieve log file");
_array[TreeNode.SHUTDOWN_NODE] = new AbstractAction("Shutdown")
{