sherlog-holmes 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 335c0ae3ce2274c0771f5c2936f699d846fbfb71
4
- data.tar.gz: 38d8ee3302d9414b2e86d1236b7790a2feec23ae
3
+ metadata.gz: 997aeb32d3053a46307a3f2764f53329c5f81122
4
+ data.tar.gz: 60ed3517bdd284105dcbccd4571eedb5add27c99
5
5
  SHA512:
6
- metadata.gz: b04ce754d419cef4afd09cd2e7646dec963b36c7f0905e591a124df012cf6053502d29e532b389d0e9d65abaa045adfb7692b042403344074bd229057616d492
7
- data.tar.gz: 13004cc6b7f9d720f4ae01a952102411177b537302d9c1280e5bdc25ae1ed8b7df73ba8a349358e6ed30f51b1519ad91d512e462b22aef5b19beca055bba51e2
6
+ metadata.gz: 58c00fce477d2d13cdb6efbb08753eeb004d670433d38f6dffb6a4162ff982ef756bb36134eb1b7c8e11dc0c794907ceef3702e24ce3d98d685e837cb4a7cf86
7
+ data.tar.gz: 81bbac689b8005b6bf0d1803d06be703de4e20f9fea2c7d188dfae62174182087ccfd2ab227431d3776137ea20ddd1e1577fe968f02e2d68ab44c68d373d31c4
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ .idea
1
2
  /.bundle/
2
3
  /.yardoc
3
4
  /Gemfile.lock
@@ -7,4 +8,3 @@
7
8
  /pkg/
8
9
  /spec/reports/
9
10
  /tmp/
10
- .idea/workspace.xml
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="ProjectLevelVcsManager" settingsEditedManually="false">
4
- <OptionsSetting value="true" id="Add" />
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>
@@ -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" scope="PROVIDED" name="bundler (v1.10.6, RVM: ruby-2.2-head) [gem]" level="application" />
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.4.2, RVM: ruby-2.2-head) [gem]" level="application" />
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 levels,categories log-file.log
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
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.5.2
4
+
5
+ - Changed jboss pattern to jboss.wildfly (#1)
6
+
7
+
3
8
  ## v0.5.1
4
9
 
5
10
  - Accept JBoss log entries that uses a '|' between attributes
@@ -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>.+)
@@ -21,5 +21,5 @@
21
21
  # THE SOFTWARE.
22
22
 
23
23
  module Sherlog
24
- VERSION = '0.5.1'
24
+ VERSION = '0.5.2'
25
25
  end
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.1
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: 2016-02-05 00:00:00.000000000 Z
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