Skip to content

Instantly share code, notes, and snippets.

Andre Newman 8bitbuddhist

Block or report user

Report or block 8bitbuddhist

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
8bitbuddhist /
Last active Jan 23, 2016
Simple demonstration of Log4J 2's ThreadContext using Java
import java.util.UUID;
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.ThreadContext;
public class MyAppStack {
private static final Logger logger = LogManager.getLogger(MyAppStack.class);
public void login(String username, UUID sessionID) {
You can’t perform that action at this time.