How to set a logo to asset

I would strongly recommend to follow ARC-3:

ARC-3 is both for fungible and non-fungible tokens.

Now, I don’t think major wallets and block explorers display ARC-3 metadata. So you may also want to follow New process to validate ASAs in addition.