Package org.frankframework.logging
Class FrankPropertyLookupProvider
java.lang.Object
org.apache.logging.log4j.core.lookup.AbstractLookup
org.frankframework.logging.FrankPropertyLookupProvider
- All Implemented Interfaces:
org.apache.logging.log4j.core.lookup.StrLookup
@Plugin(name="ff",
category="Lookup")
public class FrankPropertyLookupProvider
extends org.apache.logging.log4j.core.lookup.AbstractLookup
Add the Frank property resolver to the log configuration context. Properties starting with
ff:
will be substituted via this LookupProvider.
NOTE:
The use of Lombok is not allowed, this may break annotation processing! This is required now that package scanning is no longer allowed.
Should not depend on any (util) classes that use a logger!-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class
Sort entries `EXTERNAL CLASSPATH` > `WEB-INF/CLASSES` > `JAR FILES`. -
Field Summary
Fields inherited from interface org.apache.logging.log4j.core.lookup.StrLookup
CATEGORY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static Properties
protected static URL
findResource
(String filename) Scan the classpath and find the correct resource to use.Methods inherited from class org.apache.logging.log4j.core.lookup.AbstractLookup
evaluate, lookup
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.logging.log4j.core.lookup.StrLookup
evaluate
-
Constructor Details
-
FrankPropertyLookupProvider
- Throws:
IOException
-
-
Method Details
-
lookup
-
computeProperties
- Throws:
IOException
-
findResource
Scan the classpath and find the correct resource to use. See the UrlLocationComparator for the order.- Throws:
IOException
-