Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
moved logback.groovy to sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Marcar committed Jul 16, 2012
1 parent 77d7f8c commit 42f774e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Add the following to your logback.xml configuration file.
</configuration> </configuration>


If you're using groovy configuration, checkout the If you're using groovy configuration, checkout the
[logback.groovy](https://github.com/Moocar/logback-gelf/blob/master/src/test/resources/logback.groovy) example. [logback.groovy](https://github.com/Moocar/logback-gelf/blob/master/sample.logback.groovy) example.


Properties Properties
---------- ----------
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/test/java/me/moocar/logbackgelf/IntegrationTest.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ public void test() {


logger.debug("this is a new test"); logger.debug("this is a new test");
logger.debug("this is a test with ({}) parameter", "this"); logger.debug("this is a test with ({}) parameter", "this");
//logger.debug("This is a test with a really long ending: " + longMessage);
try { try {
new URL("app://asdfs"); new URL("app://asdfs");
} catch (Exception e) { } catch (Exception e) {
logger.error("expected error", new IllegalStateException(e)); logger.error("expected error", new IllegalStateException(e));
} }
logger.debug("This is a test with a really long ending: " + longMessage);
} }


private static class TestException extends RuntimeException { private static class TestException extends RuntimeException {
Expand Down

0 comments on commit 42f774e

Please sign in to comment.