Hi,
I need to enable logging of the rest api, for example, all of the
requests/responses of HTTP.
I did some research on the Internet. I think I need to set the logging
filter for Jersey like this.
But I don't know how to do it in Guacamole.
<init-param>
<param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
<param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
<param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
</init-param>
Please help me, thank you.
Best Regards.
LIN ZHENGGANG
2022年8月22日(月) 12:06 林 政剛 <[email protected]>:
> Hi,
>
> I need to enable logging of the rest api, for example, all of the
> requests/responses of HTTP.
> I did some research on the Internet. I think I need to set the logging
> filter for Jersey like this.
> But I don't know how to do it in Guacamole.
>
> <init-param>
>
> <param-name>com.sun.jersey.spi.container.ContainerRequestFilters</param-name>
>
> <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
> </init-param>
> <init-param>
>
> <param-name>com.sun.jersey.spi.container.ContainerResponseFilters</param-name>
>
> <param-value>com.sun.jersey.api.container.filter.LoggingFilter</param-value>
> </init-param>
>
>
>
> Please help me, thank you.
> Best Regards.
> LIN ZHENGGANG
>
>