ContextMapAttributeConverter
and ContextStackAttributeConverter
only support persistence and not retrieval, persisting the type as a simple string. You can use the
ContextMapJsonAttributeConverter
and ContextStackJsonAttributeConverter
instead, which require the Jackson Data Processor dependency to also be on your class path.| Class | Description |
|---|---|
| ContextDataAttributeConverter |
A JPA 2.1 attribute converter for
ReadOnlyStringMaps in
LogEvents. |
| ContextDataJsonAttributeConverter |
A JPA 2.1 attribute converter for
ReadOnlyStringMaps in
LogEvents. |
| ContextMapAttributeConverter |
A JPA 2.1 attribute converter for
Map<String, String>s in
LogEvents. |
| ContextMapJsonAttributeConverter |
A JPA 2.1 attribute converter for
Map<String, String>s in
LogEvents. |
| ContextStackAttributeConverter |
A JPA 2.1 attribute converter for
ThreadContext.ContextStacks in
LogEvents. |
| ContextStackJsonAttributeConverter |
A JPA 2.1 attribute converter for
ThreadContext.ContextStacks in
LogEvents. |
| LevelAttributeConverter | |
| MarkerAttributeConverter | |
| MessageAttributeConverter | |
| StackTraceElementAttributeConverter |
A JPA 2.1 attribute converter for
StackTraceElements in LogEvents. |
| ThrowableAttributeConverter |
Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.