Monday, 9 September 2013

MultipartBody File upload content is printed in logs

MultipartBody File upload content is printed in logs

I have a REST service which uploads the file, and service is running in
tomcat. I want to disable the logs which appears like below during upload.
What could be the reason and how to solve it? I tried many options like
changing the log configuration to disable and etc... could not help.
Payload: ------WebKitFormBoundaryyep5BXskYK6acMBb
Content-Disposition: form-data; name="fileToUpload"; filename="blob"
Content-Type: application/octet-stream
ž—°†DÅùèéç.®CjC,Oè:1%¸,ï#o€[n]Øã'Ü|Ý_@/ˆúêy ۖÚ?
úÍ;gt;¬‚N g§pŠÏÏÃ''Õ©
/code/pre
pè|åÐ/¬®Øg;v
xK¥©K~–3©â8EFoyñäº-‰`¦_qÃ'YNDÂ'§Õƒ§ütf;˜HäòÂn}ÏH|ZäGHZw旺µ¿42v£f·å/p

No comments:

Post a Comment