mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-12-22 12:37:58 +01:00
[openpgp] Remove INFO log sites
INFO log sites should be used sparingly and carefully. Those are a good examples for an unnecessary INFO log sites.
This commit is contained in:
parent
aa49743ef8
commit
64db6e3ebc
3 changed files with 0 additions and 6 deletions
|
@ -27,7 +27,6 @@ import java.io.IOException;
|
|||
import java.security.InvalidAlgorithmParameterException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.security.NoSuchProviderException;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.jivesoftware.smack.SmackException;
|
||||
import org.jivesoftware.smack.XMPPException;
|
||||
|
@ -98,7 +97,6 @@ public class OXSecretKeyBackupIntegrationTest extends AbstractOpenPgpIntegration
|
|||
@AfterClass
|
||||
@BeforeClass
|
||||
public static void cleanStore() throws IOException {
|
||||
LOGGER.log(Level.INFO, "Delete store directories...");
|
||||
org.apache.commons.io.FileUtils.deleteDirectory(afterPath);
|
||||
org.apache.commons.io.FileUtils.deleteDirectory(beforePath);
|
||||
}
|
||||
|
|
|
@ -21,7 +21,6 @@ import static org.junit.jupiter.api.Assertions.assertTrue;
|
|||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import org.jivesoftware.smack.SmackException;
|
||||
import org.jivesoftware.smack.XMPPException;
|
||||
|
@ -104,8 +103,6 @@ public class OXInstantMessagingIntegrationTest extends AbstractOpenPgpIntegratio
|
|||
public void basicInstantMessagingTest()
|
||||
throws Exception {
|
||||
|
||||
LOGGER.log(Level.INFO, aliceStorePath.getAbsolutePath() + " " + bobStorePath.getAbsolutePath());
|
||||
|
||||
final SimpleResultSyncPoint bobReceivedMessage = new SimpleResultSyncPoint();
|
||||
final String body = "Writing integration tests is an annoying task, but it has to be done, so lets do it!!!";
|
||||
|
||||
|
|
|
@ -162,7 +162,6 @@ public class PainlessOpenPgpProvider implements OpenPgpProvider {
|
|||
|
||||
PGPPublicKeyRingCollection announcedPublicKeys = sender.getAnnouncedPublicKeys();
|
||||
if (announcedPublicKeys == null) {
|
||||
LOGGER.log(Level.INFO, "Received a message from " + sender.getJid() + " but we have no keys yet. Try fetching them.");
|
||||
try {
|
||||
sender.updateKeys(connection);
|
||||
announcedPublicKeys = sender.getAnnouncedPublicKeys();
|
||||
|
|
Loading…
Reference in a new issue