Skip to content

Instantly share code, notes, and snippets.

@abyx
Created August 27, 2010 17:01
Show Gist options
  • Select an option

  • Save abyx/553731 to your computer and use it in GitHub Desktop.

Select an option

Save abyx/553731 to your computer and use it in GitHub Desktop.
public class PatternLayoutWithUserContext extends PatternLayout {
static {
PatternLayout.defaultConverterMap.put(
"user", UserConverter.class.getName());
PatternLayout.defaultConverterMap.put(
"session", SessionConverter.class.getName());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment