improved log output
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<groupId>org.example</groupId>
|
<groupId>org.example</groupId>
|
||||||
<artifactId>Widerhall</artifactId>
|
<artifactId>Widerhall</artifactId>
|
||||||
<version>0.2.22</version>
|
<version>0.2.23</version>
|
||||||
<build>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ public class ImapClient {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void handleMessages() throws MessagingException {
|
private void handleMessages() throws MessagingException {
|
||||||
LOG.debug("reading email:");
|
LOG.debug("Reading email of {}:",username);
|
||||||
if (!inbox.isOpen()){
|
if (!inbox.isOpen()){
|
||||||
inbox.open(IMAPFolder.READ_WRITE);
|
inbox.open(IMAPFolder.READ_WRITE);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user