Skip to content

Commit 861a6c2

Browse files
committed
initial commit for v3
1 parent b444b01 commit 861a6c2

File tree

201 files changed

+42262
-9
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

201 files changed

+42262
-9
lines changed

.classpath

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src/main/java">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
10+
<attributes>
11+
<attribute name="optional" value="true"/>
12+
<attribute name="maven.pomderived" value="true"/>
13+
</attributes>
14+
</classpathentry>
15+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
16+
<attributes>
17+
<attribute name="maven.pomderived" value="true"/>
18+
</attributes>
19+
</classpathentry>
20+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
21+
<attributes>
22+
<attribute name="maven.pomderived" value="true"/>
23+
</attributes>
24+
</classpathentry>
25+
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
26+
<attributes>
27+
<attribute name="maven.pomderived" value="true"/>
28+
</attributes>
29+
</classpathentry>
30+
<classpathentry kind="output" path="target/classes"/>
31+
</classpath>

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/target/
2+
/.settings/
3+
/logs/
4+
*.log

.project

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>logviewer</name>
4+
<comment></comment>
5+
<projects>
6+
</projects>
7+
<buildSpec>
8+
<buildCommand>
9+
<name>org.eclipse.jdt.core.javabuilder</name>
10+
<arguments>
11+
</arguments>
12+
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
18+
</buildSpec>
19+
<natures>
20+
<nature>org.eclipse.jdt.core.javanature</nature>
21+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
22+
</natures>
23+
</projectDescription>

LICENSE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2017 Pegasystem Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

README.md

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,53 @@
11
Pega-LogViewer
22
==============
3-
Pega-LogViewer is a Java Swing based tool to view PegaRULES Log and Alert files.
3+
Pega-LogViewer is a Java Swing based tool to view Pega RULES and Pega ALERT log files.
44

55
The tool can be downloaded from [Releases page](https://github.com/pegasystems/pega-logviewer/releases) under **Downloads** section.
66

7-
Extract 'logviewer-2.0-bin.zip' to a folder.
8-
Run 'logviewer.cmd' to launch the tool.
7+
Extract 'pega-logviewer-<*version*>-bin.zip' to a folder.
8+
9+
Run 'pega-logviewer-<*version*>.cmd' to launch the tool.
910

1011
Features
1112
----------
1213
This tool show the log file line/entries in a table format. The columns are marked based on the log pattern.
1314
The log pattern used are the ootb ones from prlogging.xml -> PEGA appender.
1415
Some customers updates PEGA appender pattern.
1516
In case the tool can't recognize the pattern automatically, it will present a dialog to enter the pattern,
16-
so you might be required to get pattern from prlogging.xml or judge the pattern by looking at the logs lines itself.
17+
so you might be required to get customised pattern from prlogging.xml.
1718

1819
For PegaRULES log the row entries are color coded based on log level, Red for Error, Green for Info, Light Blue for Debug etc.
1920
For ALERT log, only Critical Alerts entries are coded Red.
2021

2122
The timeline graph is governed by the data in the table. in case you filter the data in the table using any of the column filter, the chart will change.
2223

23-
You can open very huge log files. In case of OOM, just change the heap size in the cmd file and try again.
24+
Can open big log files. In case of OOM, change the heap size in the cmd file and try again.
2425

2526
Features
2627
* See memory, requestor counts in a chart.
2728
* System starts, exceptions and thread dump occurences are superimposed on the timeline.
2829
* Search within the file output for useful content. results are highlighted in yellow
2930
* Set Filters for certain Log and Alert data columns.
30-
* Overview dialog to show (if any)-
31-
1. System Start details
32-
2. Errors
33-
3. Thread Dumps
31+
* Overview dialog to show (if any)
32+
+ PegaRULES log
33+
1. System Start details
34+
1. Errors
35+
1. Thread Dumps
36+
1. Bookmarks
37+
1. Search results
38+
39+
+ Pega ALERT log
40+
1. Alert Overview with consolidated Alerts statistics
41+
1. Individual Alert tabs with details.
42+
43+
44+
Build and Runtime
45+
-----
46+
needs JDK8.
47+
48+
To build the project use the following command:
49+
```
50+
$ mvn clean package
51+
```
3452

53+
The release build is 'pega-logviewer-<*version*>-bin.zip' file under `'\target\'` folder.

0 commit comments

Comments
 (0)