Re: Custom Logging

2018年11月21日 15:10:44 -0800

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 2018年11月21日 at 23:14, John McDonnell <[email protected]>
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
>

Reply via email to