jclouds-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <n...@apache.org>
Subject Re: Custom Logging
Date Wed, 21 Nov 2018 23:10:10 GMT
Hi John,

Can you elaborate a bit?
If you use the SLF4j driver with Logback, could you achieve what you need
with its Mapped Diagnostic Context [1]?


I.

[1] https://logback.qos.ch/manual/mdc.html


On Wed, 21 Nov 2018 at 23:14, John McDonnell <johnmcdonnell@apache.org>
wrote:

> Hi,
>
> I use JClouds for creating accounts/domains, and retrieving usage on a
> CloudStack instance.
>
> We need to produce better logging where by we can match requests and
> responses in a single entry into a DB table.
>
> From what I can see a custom logging module wouldn't quite work as it
> implements org.jclouds.logging.BaseLogger which only supports customising
> the "standard" log<level> methods.
>
> I'm looking for an alternative, can we change the rest client used by
> JClouds?
>
> Regards
>
> John
>

Mime
View raw message