mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Improved logging
This commit is contained in:
parent
22ceefc953
commit
03dd806c8d
1 changed files with 2 additions and 1 deletions
|
@ -545,7 +545,6 @@ public class EmailService implements AutoCloseable {
|
|||
Log.w(ex);
|
||||
}
|
||||
|
||||
EntityLog.log(context, "Connecting to " + main);
|
||||
_connect(main, port, require_id, user, factory);
|
||||
} catch (UnknownHostException ex) {
|
||||
throw new MessagingException(ex.getMessage(), ex);
|
||||
|
@ -686,6 +685,8 @@ public class EmailService implements AutoCloseable {
|
|||
private void _connect(
|
||||
InetAddress address, int port, boolean require_id, String user,
|
||||
SSLSocketFactoryService factory) throws MessagingException {
|
||||
EntityLog.log(context, "Connecting to " + address + ":" + port);
|
||||
|
||||
isession = Session.getInstance(properties, authenticator);
|
||||
|
||||
breadcrumbs = new RingBuffer<>(BREADCRUMBS_SIZE);
|
||||
|
|
Loading…
Reference in a new issue