uaktags / explorer

An open source block explorer
BSD 3-Clause "New" or "Revised" License
6 stars 8 forks source link

How to hide express HTTP request logging? #45

Open minkcrypto-zz opened 5 years ago

minkcrypto-zz commented 5 years ago

In the aspect of user privacy server should not log the txhash url when user browse them....

uaktags commented 5 years ago

I'm not sure about the privacy aspect unless people are also logging and tracking IPs. Otherwise this is simply no different than an access log and very useful for development purposes.

I'd instead would like to change the topic of discussion away from privacy and instead think about the expandability of having loglevels. The inclusion of all requests is pretty verbose, whereas most would rather just have errors/warnings.

minkcrypto-zz commented 5 years ago

Correct, we should be able to exclude non error/warning messages.