sherlog-holmes 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.idea/misc.xml +2 -11
- data/.idea/sherlog-holmes.iml +5 -7
- data/README.md +1 -1
- data/changelog.md +5 -0
- data/conf/patterns/java.yml +0 -6
- data/conf/patterns/jboss.yml +8 -0
- data/lib/sherlog_holmes/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 997aeb32d3053a46307a3f2764f53329c5f81122
|
|
4
|
+
data.tar.gz: 60ed3517bdd284105dcbccd4571eedb5add27c99
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 58c00fce477d2d13cdb6efbb08753eeb004d670433d38f6dffb6a4162ff982ef756bb36134eb1b7c8e11dc0c794907ceef3702e24ce3d98d685e837cb4a7cf86
|
|
7
|
+
data.tar.gz: 81bbac689b8005b6bf0d1803d06be703de4e20f9fea2c7d188dfae62174182087ccfd2ab227431d3776137ea20ddd1e1577fe968f02e2d68ab44c68d373d31c4
|
data/.gitignore
CHANGED
data/.idea/misc.xml
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<project version="4">
|
|
3
|
-
<component name="
|
|
4
|
-
|
|
5
|
-
<OptionsSetting value="true" id="Remove" />
|
|
6
|
-
<OptionsSetting value="true" id="Checkout" />
|
|
7
|
-
<OptionsSetting value="true" id="Update" />
|
|
8
|
-
<OptionsSetting value="true" id="Status" />
|
|
9
|
-
<OptionsSetting value="true" id="Edit" />
|
|
10
|
-
<ConfirmationsSetting value="0" id="Add" />
|
|
11
|
-
<ConfirmationsSetting value="0" id="Remove" />
|
|
12
|
-
</component>
|
|
13
|
-
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" default="false" assert-keyword="true" jdk-15="true" project-jdk-name="RVM: ruby-2.2-head" project-jdk-type="RUBY_SDK" />
|
|
3
|
+
<component name="IdProvider" IDEtalkID="F7E1504DE83824CFE7B03051C96F74FD" />
|
|
4
|
+
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" default="false" project-jdk-name="RVM: ruby-2.2-head" project-jdk-type="RUBY_SDK" />
|
|
14
5
|
</project>
|
data/.idea/sherlog-holmes.iml
CHANGED
|
@@ -2,11 +2,7 @@
|
|
|
2
2
|
<module type="RUBY_MODULE" version="4">
|
|
3
3
|
<component name="FacetManager">
|
|
4
4
|
<facet type="gem" name="Gem">
|
|
5
|
-
<configuration
|
|
6
|
-
<option name="GEM_APP_ROOT_PATH" value="" />
|
|
7
|
-
<option name="GEM_APP_TEST_PATH" value="" />
|
|
8
|
-
<option name="GEM_APP_LIB_PATH" value="" />
|
|
9
|
-
</configuration>
|
|
5
|
+
<configuration />
|
|
10
6
|
</facet>
|
|
11
7
|
</component>
|
|
12
8
|
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
@@ -19,9 +15,11 @@
|
|
|
19
15
|
</content>
|
|
20
16
|
<orderEntry type="inheritedJdk" />
|
|
21
17
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
22
|
-
<orderEntry type="library"
|
|
18
|
+
<orderEntry type="library" name="R User Library" level="project" />
|
|
19
|
+
<orderEntry type="library" name="R Skeletons" level="application" />
|
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.14.6, RVM: ruby-2.2-head) [gem]" level="application" />
|
|
23
21
|
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.2-head) [gem]" level="application" />
|
|
24
|
-
<orderEntry type="library" scope="PROVIDED" name="rake (v10.
|
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.2-head) [gem]" level="application" />
|
|
25
23
|
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.4.0, RVM: ruby-2.2-head) [gem]" level="application" />
|
|
26
24
|
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.4.1, RVM: ruby-2.2-head) [gem]" level="application" />
|
|
27
25
|
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.4.0, RVM: ruby-2.2-head) [gem]" level="application" />
|
data/README.md
CHANGED
|
@@ -170,7 +170,7 @@ Set this and Sherlog will count the number of entries per level, category, origi
|
|
|
170
170
|
- `all`: counts all groups
|
|
171
171
|
|
|
172
172
|
```
|
|
173
|
-
$ sherlog --count
|
|
173
|
+
$ sherlog --count level,category log-file.log
|
|
174
174
|
```
|
|
175
175
|
|
|
176
176
|
*Don't forget to set an operation or `sherlog` will not show anything in your console!*
|
data/changelog.md
CHANGED
data/conf/patterns/java.yml
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
base.java:
|
|
2
2
|
exception: (?<exception>\w+(\.\w+)+(Exception|Error|Fault))
|
|
3
3
|
stacktrace: ^(\s+at)|(Caused by\:)|(\s+\.{3}\s\d+\smore)
|
|
4
|
-
jboss:
|
|
5
|
-
from: base.java
|
|
6
|
-
entry: (?<time>(?<date>\d{2,4}-\d{2}-\d{2,4}\s)?(\d{2}:\d{2}:\d{2},\d{3}))\s+\|?\s*(?<level>\w+)\s+\|?\s*\[(?<category>\S+)\]\s+\|?\s*\((?<origin>[^)]+)\)?\s?\|?\s?(?<message>.+)
|
|
7
|
-
jboss.fuse:
|
|
8
|
-
from: base.java
|
|
9
|
-
entry: (?<time>(?<date>\d{2,4}-\d{2}-\d{2,4}\s)?(\d{2}:\d{2}:\d{2},\d{3}))\s+\|\s*(?<level>\w+)\s*\|\s*(?<origin>[^|]+)\s*\|\s*(?<category>[^|]+)\s*\|\s*(?<bundle>(?<bundle_id>\d+) - (?<bundle_name>\S+) - (?<bundle_version>\S+))\s*\|\s*(?<message>.+)
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
jboss.wildfly:
|
|
2
|
+
from: base.java
|
|
3
|
+
entry: (?<time>(?<date>\d{2,4}-\d{2}-\d{2,4}\s)?(\d{2}:\d{2}:\d{2},\d{3}))\s+\|?\s*(?<level>\w+)\s+\|?\s*\[(?<category>\S+)\]\s+\|?\s*\((?<origin>[^)]+)\)?\s?\|?\s?(?<message>.+)
|
|
4
|
+
jboss.eap:
|
|
5
|
+
from: jboss.wildfly
|
|
6
|
+
jboss.fuse:
|
|
7
|
+
from: base.java
|
|
8
|
+
entry: (?<time>(?<date>\d{2,4}-\d{2}-\d{2,4}\s)?(\d{2}:\d{2}:\d{2},\d{3}))\s+\|\s*(?<level>\w+)\s*\|\s*(?<origin>[^|]+)\s*\|\s*(?<category>[^|]+)\s*\|\s*(?<bundle>(?<bundle_id>\d+) - (?<bundle_name>\S+) - (?<bundle_version>\S+))\s*\|\s*(?<message>.+)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sherlog-holmes
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ataxexe
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-06-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: yummi
|
|
@@ -94,6 +94,7 @@ files:
|
|
|
94
94
|
- bin/sherlog
|
|
95
95
|
- changelog.md
|
|
96
96
|
- conf/patterns/java.yml
|
|
97
|
+
- conf/patterns/jboss.yml
|
|
97
98
|
- lib/sherlog_holmes.rb
|
|
98
99
|
- lib/sherlog_holmes/entry.rb
|
|
99
100
|
- lib/sherlog_holmes/filter.rb
|