/*
 * $Id$
 * $URL$
 */

package org.subethamail.web.action;

import lombok.Getter;
import lombok.Setter;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.subethamail.web.Backend;
import org.subethamail.web.action.auth.AuthRequired;

/**
 * Removes a site admin.
 *
 * @author Jon Stevens
 * @author Jeff Schnitzer
 */
public class AdminRemove extends AuthRequired
{
	/** */
	private final static Logger log = LoggerFactory.getLogger(AdminRemove.class);

	@Getter @Setter Long id;

	/** */
	@Override
	public void authExecute() throws Exception
	{
		if (log.isDebugEnabled())
			log.debug("Removing site admin person id: " + this.id);

		Backend.instance().getAdmin().setSiteAdmin(this.id, false);
	}
}

@@ -73,22 +73,34 @@
 ort 
-lombok.Getter;
+java.util.logging.Level;%0D%0A
 %0D%0Aim
@@ -115,17 +115,17 @@
 bok.
-S
+G
 etter;%0D%0A
 %0D%0Aim
@@ -124,67 +124,63 @@
 r;%0D%0A
-%0D%0A
 import 
-org.slf4j.Logger;%0D%0Aimport org.slf4j.LoggerFactory;
+lombok.Setter;%0D%0Aimport lombok.extern.java.Log;%0D%0A
 %0D%0Aim
@@ -361,16 +361,22 @@
 r%0D%0A */%0D%0A
+@Log%0D%0A
 public c
@@ -421,99 +421,8 @@
 %0A%7B%0D%0A
-%09/** */%0D%0A%09private final static Logger log = LoggerFactory.getLogger(AdminRemove.class);%0D%0A%0D%0A
 %09@Ge
@@ -517,17 +517,20 @@
 n%0D%0A%09%7B%0D%0A%09
-%09
+    
 if (log.
@@ -535,38 +535,59 @@
 g.is
-DebugEnabled())%0D%0A%09%09%09log.debug(
+Loggable(Level.FINE))%0D%0A%09        log.log(Level.FINE,
 %22Rem
@@ -618,11 +618,13 @@
 id: 
-%22 +
+%7B0%7D%22,
  thi

switch logging framework