[Client] Improved logging initialization