Closed pzsette closed 1 year ago
Hi, i'd like to know how to disable logs about file bytes when validating a file. At the moment this is the response i got calling the /validation/validateSignature endpoint. I dont want to show this. Is there a config file to turn off logs ? Thanks
/validation/validateSignature
2022-12-19 09:58:33,528 INFO | http-nio-8080-exec-1 | o.a.c.services.RestDocumentValidationServiceImpl.REQ_IN | REQ_IN Address: http://localhost:8080/services/rest/validation/validateSignature HttpMethod: POST Content-Type: application/json ExchangeId: 7fb0f07d-d55f-4610-9d89-9011f6eca5cb Headers: {Accept=*/*, postman-token=fb1b7017-f5b3-4bde-a716-b4a8b5cb060f, host=localhost:8080, connection=keep-alive, content-type=application/json, Content-Length=1106, accept-encoding=gzip, deflate, br, user-agent=PostmanRuntime/7.29.2} Payload: { "signedDocument": { "name": "test.pdf", "bytes": "JVBERi0xLjQKJdPr6eEKMSAwIG9iago8PC9UaXRsZSAocGlwcG8pCi9Qcm9kdWNlciAoU2tpYS9QREYgbTExMCBHb29nbGUgRG9jcyBSZW5kZXJlcik+PgplbmRvYmoKMyAwIG9iago8PC9jYSAxCi9CTSAvTm9ybWFsPj4KZW5kb2JqCjQgMCBvYmoKPDwvTGVuZ3RoIDg0Pj4gc3RyZWFtCjEgMCAwIC0xIDAgNzkyIGNtCnEKLjc1IDAgMCAuNzUgMCAwIGNtCjEgMSAxIFJHIDEgMSAxIHJnCi9HMyBncwowIDAgODE2IDEwNTYgcmUKZgpRCgplbmRzdHJlYW0KZW5kb2JqCjIgMCBvYmoKPDwvVHlwZSAvUGFnZQovUmVzb3VyY2VzIDw8L1Byb2NTZXQgWy9QREYgL1RleHQgL0ltYWdlQiAvSW1hZ2VDIC9JbWFnZUldCi9FeHRHU3RhdGUgPDwvRzMgMyAwIFI+Pj4+Ci9NZWRpYUJveCBbMCAwIDYxMiA3OTJdCi9Db250ZW50cyA0IDAgUgovU3RydWN0UGFyZW50cyAwCi9QYXJlbnQgNSAwIFI+PgplbmRvYmoKNSAwIG9iago8PC9UeXBlIC9QYWdlcwovQ291bnQgM=" } }
Hello,
You can disable these logs with this property . With the property changed to false, CXF won't generate logs.
Regards,
Pierrick
Thanks a lot
Hi, i'd like to know how to disable logs about file bytes when validating a file. At the moment this is the response i got calling the
/validation/validateSignature
endpoint. I dont want to show this. Is there a config file to turn off logs ? Thanks