import net.rizon.acid.core.Acidictive;
import net.rizon.acid.core.User;
import net.rizon.acid.util.Format;
+import org.slf4j.Marker;
public class Logger extends UnsynchronizedAppenderBase<ILoggingEvent>
{
String message = event.getFormattedMessage();
IThrowableProxy throwable = event.getThrowableProxy();
+ Marker marker = event.getMarker();
StackTraceElement[] stes = null;
if (throwable != null)
if (AcidCore.me != null && !AcidCore.me.isBursting() && User.findUser(Acidictive.conf.general.control) != null)
{
- String routingSpam = Acidictive.conf.getChannelNamed("routing-spam");
+ String routingSpam;
+
+ if (marker != null)
+ {
+ routingSpam = Acidictive.conf.getChannelNamed(marker.getName());
+ }
+ else
+ {
+ routingSpam = Acidictive.conf.getChannelNamed("routing-spam");
+ }
if (message != null)
{