Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to prevent Volley Library from showing the link in Log after completing the request?

After completing the request using volley the link is being displayed in logcat under android monitor.I need to prevent this so is there any way to do it??

 D/Volley: [1] Request.finish: 5801 ms: [ ] https://www.website.com/load_feeds/public?uid=xyz
like image 607
Shreyas Sanil Avatar asked Dec 31 '25 17:12

Shreyas Sanil


1 Answers

Set this, probably in your Application class:

VolleyLog.DEBUG = false;

Be aware, it seems this flag disables only Verbose logs and Volley still logs Error messages.

like image 82
Bob Avatar answered Jan 03 '26 05:01

Bob



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!