Solve logarithmic equations (#508)