value of 0 log0 in entropy formula
Two possible answers:

If a symbol has probability zero, then it does not influence the calculation and there is no need to include it, so you never actually calculate $0\log(0)$.

If you insist in including symbols with zero probability, then $0\log(0)=0$ by convention.