-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jersey Logging filter cuts entity #3281
Comments
@glassfishrobot Commented |
@glassfishrobot Commented |
@glassfishrobot Commented I see that 8 kB is default value of maxEntitySize, so there might be some issue with the "setting" of this value. |
@glassfishrobot Commented |
@glassfishrobot Commented Here is a Java example class. If you set the 'uri' to some entity resource, larger than 8kb, you can see, that it gets not logged completely using the LoggingFilter.
|
@glassfishrobot Commented |
|
I need to log the whole entity with Jersey's LoggingFilter. Therefore I set maxEntitySize to 65536 (64kB):
restclient.register(new LoggingFilter(myLogger, 64*1024));
But the logged result is always cutted after 8752 bytes. (There is no "...more..." appended.)
Environment
All
Affected Versions
[2.22.1]
The text was updated successfully, but these errors were encountered: