Skip to content

Commit

Permalink
turn on debugging for test
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed May 4, 2012
1 parent f2d0174 commit c5b8850
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -7,7 +7,9 @@
import org.jumpmind.db.io.DatabaseIO;
import org.jumpmind.db.model.Table;
import org.jumpmind.db.platform.IDatabasePlatform;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

Expand All @@ -26,14 +28,14 @@ public static void setup() throws Exception {
platform = DbTestUtils.createDatabasePlatform(DbTestUtils.ROOT);
}

//@Before
@Before
public void turnOnDebug() {
Logger logger = Logger.getLogger("org.jumpmind.db");
originalLevel = logger.getLevel();
logger.setLevel(Level.TRACE);
}

//@After
@After
public void turnOffDebug() {
Logger logger = Logger.getLogger("org.jumpmind.db");
logger.setLevel(originalLevel);
Expand Down

0 comments on commit c5b8850

Please sign in to comment.