Add mutextes for all data which shared between threads and extend logging whitelisted ips