altered logging behaviour, disabled reload button

This commit is contained in:
2022-04-22 00:22:18 +02:00
parent ed64c2bde6
commit 655d285946
4 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@
<groupId>org.example</groupId>
<artifactId>Widerhall</artifactId>
<version>0.2.11</version>
<version>0.2.12</version>
<build>
<plugins>
<plugin>

View File

@@ -320,7 +320,7 @@ public class MailingList implements MessageHandler {
@Override
public void onMessageReceived(Message message) throws MessagingException {
LOG.debug("Message received: {}",message.getFrom());
LOG.info("Message received: {}",message.getFrom());
String subject = message.getSubject();
if (subject.toLowerCase().contains("undelivered")){
try {

View File

@@ -179,10 +179,10 @@ public class ImapClient {
public ImapClient start() {
stop();
LOG.debug("Creating ListeningThread");
LOG.info("Creating ListeningThread for {}…",username);
(listeningThread = new ListeningThread()).start();
LOG.debug("Creating Heartbeat");
LOG.info("Creating Heartbeat for {}…",username);
(heartbeat = new Heartbeat()).start();
return this;
@@ -190,7 +190,7 @@ public class ImapClient {
public ImapClient stop(){
if (listeningThread != null) {
LOG.debug("Stopping old ListeningThread");
LOG.info("Stopping old ListeningThread for {}…",username);
listeningThread.dropListeners().doStop();
listeningThread = null;
}

View File

@@ -1,5 +1,5 @@
<nav>
<a href="index">Home</a>
<a href="admin">Administration</a>
<a class="button" href="reload" />Reload templates</a>
<!-- a class="button" href="reload" />Reload templates</a -->
</nav>