activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r612559 [1/8] - in /activemq/sandbox/activemq-log-analyzer: ./ example_logs/ example_logs/correct/ example_logs/incorrect/ loganalyzerengine/ loganalyzergui/ winxp_screenshots/
Date Wed, 16 Jan 2008 19:56:02 GMT
Author: chirino
Date: Wed Jan 16 11:55:49 2008
New Revision: 612559

URL: http://svn.apache.org/viewvc?rev=612559&view=rev
Log:
Adding the https://issues.apache.org/activemq/browse/AMQ-1361 Logging analyzer to the sandbox
for now.  Once we figure out a better way to include it into the main distro we may move it
into the trunk.


Added:
    activemq/sandbox/activemq-log-analyzer/
    activemq/sandbox/activemq-log-analyzer/.project
    activemq/sandbox/activemq-log-analyzer/.pydevproject
    activemq/sandbox/activemq-log-analyzer/Main.py   (with props)
    activemq/sandbox/activemq-log-analyzer/README.txt   (with props)
    activemq/sandbox/activemq-log-analyzer/example_logs/
    activemq/sandbox/activemq-log-analyzer/example_logs/correct/
    activemq/sandbox/activemq-log-analyzer/example_logs/correct/broker
    activemq/sandbox/activemq-log-analyzer/example_logs/correct/consumer
    activemq/sandbox/activemq-log-analyzer/example_logs/correct/producer
    activemq/sandbox/activemq-log-analyzer/example_logs/incorrect/
    activemq/sandbox/activemq-log-analyzer/example_logs/incorrect/broker
    activemq/sandbox/activemq-log-analyzer/example_logs/incorrect/consumer
    activemq/sandbox/activemq-log-analyzer/example_logs/incorrect/producer
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Connection.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Connection.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Consumer.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Consumer.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/LogFile.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/LogFile.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/LogParser.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/LogParser.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Message.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Message.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Producer.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/Producer.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/__init__.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzerengine/__init__.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/Application.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/Application.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/DirectoryPanel.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/DirectoryPanel.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/IncorrectSequenceList.py   (with
props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/IncorrectSequenceList.pyc   (with
props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/IncorrectSequencePanel.py   (with
props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/IncorrectSequencePanel.pyc   (with
props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/MessageTravelPanel.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/MessageTravelPanel.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/MessageTravelText.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/MessageTravelText.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/TabbedPanel.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/TabbedPanel.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/ViewClientsPanel.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/ViewClientsPanel.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/ViewConnectionsPanel.py   (with
props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/ViewConnectionsPanel.pyc   (with
props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/ViewFilesPanel.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/ViewFilesPanel.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/__init__.py   (with props)
    activemq/sandbox/activemq-log-analyzer/loganalyzergui/__init__.pyc   (with props)
    activemq/sandbox/activemq-log-analyzer/run.bat   (with props)
    activemq/sandbox/activemq-log-analyzer/run.sh   (with props)
    activemq/sandbox/activemq-log-analyzer/winxp_screenshots/
    activemq/sandbox/activemq-log-analyzer/winxp_screenshots/1.png   (with props)
    activemq/sandbox/activemq-log-analyzer/winxp_screenshots/2.png   (with props)
    activemq/sandbox/activemq-log-analyzer/winxp_screenshots/3.png   (with props)
    activemq/sandbox/activemq-log-analyzer/winxp_screenshots/4.png   (with props)
    activemq/sandbox/activemq-log-analyzer/winxp_screenshots/5.png   (with props)

Added: activemq/sandbox/activemq-log-analyzer/.project
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-log-analyzer/.project?rev=612559&view=auto
==============================================================================
--- activemq/sandbox/activemq-log-analyzer/.project (added)
+++ activemq/sandbox/activemq-log-analyzer/.project Wed Jan 16 11:55:49 2008
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>log_analyzer_tool</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.python.pydev.PyDevBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.python.pydev.pythonNature</nature>
+	</natures>
+</projectDescription>

Added: activemq/sandbox/activemq-log-analyzer/.pydevproject
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-log-analyzer/.pydevproject?rev=612559&view=auto
==============================================================================
--- activemq/sandbox/activemq-log-analyzer/.pydevproject (added)
+++ activemq/sandbox/activemq-log-analyzer/.pydevproject Wed Jan 16 11:55:49 2008
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?eclipse-pydev version="1.0"?>
+
+<pydev_project>
+<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.5</pydev_property>
+</pydev_project>

Added: activemq/sandbox/activemq-log-analyzer/Main.py
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-log-analyzer/Main.py?rev=612559&view=auto
==============================================================================
--- activemq/sandbox/activemq-log-analyzer/Main.py (added)
+++ activemq/sandbox/activemq-log-analyzer/Main.py Wed Jan 16 11:55:49 2008
@@ -0,0 +1,31 @@
+"""
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+"""
+
+"""
+Module Main
+"""
+from loganalyzergui.Application import Application
+
+def main():
+    """
+    Entrance point for the application
+    """
+    app = Application(0)
+    app.MainLoop()
+    
+if __name__ == '__main__':
+    main()

Propchange: activemq/sandbox/activemq-log-analyzer/Main.py
------------------------------------------------------------------------------
    svn:eol-style = native

Added: activemq/sandbox/activemq-log-analyzer/README.txt
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-log-analyzer/README.txt?rev=612559&view=auto
==============================================================================
--- activemq/sandbox/activemq-log-analyzer/README.txt (added)
+++ activemq/sandbox/activemq-log-analyzer/README.txt Wed Jan 16 11:55:49 2008
@@ -0,0 +1,86 @@
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+
+
+
+
+Readme file for the LogAnalyzer application.
+
+1. Requirements:
+-Python 2.5.1 (http://www.python.org/download/releases/2.5.1/ or your favorite package)
+-wxPython 2.8.4 (http://www.wxpython.org/download.php or your favorite package)
+
+2. How to execute:
+Run 'python Main.py'.
+
+3. Some instructions:
+-This tool will analyze ActiveMQ log files that have been produced
+using the 'custom' transport log format. To analyze the files,
+put them in a directory, choose that directory and click 'Parse'.
+Please don't put any other kind of files in the same directory
+(sub-directories won't cause any problem, but the files inside
+them will not be analyzed).
+For example, imagine you have a setup with 4 machines: 1 has producers,
+2 are brokers, and 1 has consumers. As long as you have 1 JVM per machine,
+you should have 4 log files. Call the files p.log, b1.log, b2.log,
+and c.log, for example. Put the 4 files in the same directory,
+choose that directory and click the 'Parse' button.
+
+-The first tab of the tool shows incorrect situations at transport level:
+(i) Messages that were sent through a connection, but were not received
+at the other end.
+(ii) Messages that were received through a connection, but were not sent
+(probably you are missing the log file of the JVM that sent the message).
+(iii) Messages that are sent 2 times through the same connection.
+(iv) Messages that were sent 2 times by the same JVM, but through
+different connections.
+By clicking the 'Show results with short ids' checkbox, you can switch
+between the real connection / producer id used by ActiveMQ,
+or a unique integer assigned by the tool.
+Often it's easier to compare and browse with this integers than with
+the original id's which are often long strings.
+The 'Message id' column shows 2 things: the id of the producer that
+originally issued the message, and the 'Producer Sequence Id' of a message.
+These 2 items identify a message in a unique way.
+
+You can use the checkboxes to filter per type.
+You can also filter by a given connection (but then problems of type (iv)
+will not appear because they 'belong' to more than one connection).
+You can input a 'long id' (the original ActiveMQ id) or a 'short id'
+(a short integer assigned by the tool to each connection).
+
+-The second tab of the tool allows you to get a lot of information
+about a single message. Input the producer id of the original producer
+of the message, and the message's 'Producer Sequence Id'.
+You can choose to use the original ActiveMQ producer id (long id)
+or the short integer assigned to a producer by the tool.
+You can also use the 'Jump to Message Browsing' button of the 1st tab
+to see the information about the problems of a given message
+without having to copy the message id manually.
+In this tab you can also use the 'Show results with short ids' checkbox.
+Among the information shown for a message, you can see all the connections
+that the message went through.
+
+-The third tab gives a summary of the clients (producer and consumers)
+which appear in the log files. Each client is identified by a short id,
+and belongs to a connection (whose 'short id' and 'long id' are shown).
+
+-The fourth tab gives a summary of the connections involved,
+and the clients that belong to them, each identified by its
+short id (0, 1, 2, etc).
+
+-The fifth tab gives a summary of the log files analyzed,
+and the connections in each of the files.

Propchange: activemq/sandbox/activemq-log-analyzer/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: activemq/sandbox/activemq-log-analyzer/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message