Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Disable unhelpful warning from openid4java
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Oct 21, 2013
1 parent 08a0de3 commit edc6914
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions zanata-war/src/main/java/org/zanata/ZanataInit.java
Expand Up @@ -27,6 +27,9 @@
import java.util.Properties;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import java.util.logging.Level;
import java.util.logging.Logger;

import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.LinkRef;
Expand Down Expand Up @@ -62,8 +65,10 @@ public class ZanataInit {
static {
// Prevent AS 7 from warning about gwt-servlet's
// org.hibernate.validator.ValidationMessages
java.util.logging.Logger.getLogger("org.jboss.modules").setLevel(
java.util.logging.Level.SEVERE);
Logger.getLogger("org.jboss.modules").setLevel(Level.SEVERE);
// Disable "RP discovery / realm validation disabled;"
Logger.getLogger("org.openid4java.server.RealmVerifier").setLevel(
Level.SEVERE);
}

public static final String EVENT_Zanata_Startup = "Zanata.startup";
Expand Down

0 comments on commit edc6914

Please sign in to comment.