Skip to content

Commit

Permalink
[domainca] fix logger use to slf4j
Browse files Browse the repository at this point in the history
  • Loading branch information
EskoDijk committed Sep 1, 2024
1 parent 3c09f3d commit 4622601
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/google/openthread/domainca/DomainCA.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.logging.Logger;
import org.bouncycastle.asn1.ASN1Encodable;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.DERIA5String;
Expand All @@ -70,6 +69,8 @@
import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder;
import org.bouncycastle.operator.jcajce.JcaContentVerifierProviderBuilder;
import org.bouncycastle.pkcs.PKCS10CertificationRequest;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class DomainCA {

Expand Down Expand Up @@ -205,5 +206,5 @@ private static synchronized BigInteger allocateSerialNumber() {

private X509Certificate certificate;

private final static Logger logger = Logger.getLogger(DomainCA.class.getCanonicalName());
private final static Logger logger = LoggerFactory.getLogger(DomainCA.class);
}
Original file line number Diff line number Diff line change
Expand Up @@ -943,5 +943,5 @@ private void initEndpoint() {

private byte[] lastRvrCoseSigned = null;

private static Logger logger = LoggerFactory.getLogger(Registrar.class);
private final static Logger logger = LoggerFactory.getLogger(Registrar.class);
}

0 comments on commit 4622601

Please sign in to comment.