Skip to content

Commit

Permalink
updated version to 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
siom79 committed Sep 1, 2015
1 parent 2e34840 commit 3c6150c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ For httpd's access logs you can use for example: `'['dd/MMM/yyyy:HH:mm:ss` toget
If a line does not contain the number of specified fields or does not contain a timestamp at the given fields, it is treated
like it would belong to the last line with proper timestamp. This way the stacktrace of an exception is merged together with the timestamp line.

Using the option `--verbose` will output any errors happening during timestamp conversion to stderr. As lines that do not contain
a valid timestamp will be appended to the last line with a valid timestamp, it can happen that the output is empty when specifying a
wrong timestamp format or the wrong field as there is no last line to append the invalid line to.

## Example:

file1.log:
```
2015-08-29 15:49:46,641 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.undertow.listener.default: org.jboss.msc.service.StartException in service jboss.undertow.listener.default: Could not start http listener
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>log-merger</groupId>
<artifactId>log-merger</artifactId>
<version>0.0.3-SNAPSHOT</version>
<version>0.0.3</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down

0 comments on commit 3c6150c

Please sign in to comment.