[midPoint] Advanced Logging Configuration

Pavol Mederly mederly at evolveum.com
Tue Mar 8 18:05:48 CET 2022


Emil,

I am not sure. The source code indicates it should do something, but I 
am a bit scared about toString() call there.

Maybe just try to put something there... and observe the effect with 
detailed logging (set 
com.evolveum.midpoint.common.LoggingConfigurationManager to true). I'd 
be interested about the result myself. ;)

https://github.com/Evolveum/midpoint/blob/6fba7c8aab97a99eaf59fc71c0b402bd928528e8/infra/common/src/main/java/com/evolveum/midpoint/common/LoggingConfigurationManager.java#L263-L269

-- 
Pavol Mederly
Software developer
evolveum.com

On 08/03/2022 17:42, Emil.Militzer--- via midPoint wrote:
> Hello, does anybody know how to use the <advanced> tag in the logging 
> configuration? I want to inject some free form stuff into the logging 
> config and the schema suggests that this should be easily possible:
> <xsd:complexType name="AdvancedLoggingConfigurationType" mixed="true"> 
>     <xsd:annotation>         <xsd:documentation>             Contains 
> free form logging configuration.         </xsd:documentation>         
> <xsd:appinfo>             <a:container>true</a:container>         
> </xsd:appinfo>     </xsd:annotation>     <xsd:sequence>         
> <xsd:any maxOccurs="unbounded"/>     </xsd:sequence> 
> </xsd:complexType> I just want to add some text in the config. I tried 
> many things which didn’t work but I think i am missing the easy 
> solution here.
> Kind Regards
>
> Emil
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20220308/3b89002a/attachment.htm>


More information about the midPoint mailing list