The main reason behind this is using properties of logarithm .
like
when solving
There you use multiplication property and make addition to multiplication then you get extraneous solution because in plenty of cases they occur
like
But
Same happens in case of logarithm