Fix the log prefixes duplicate bug.

Signed-off-by: mk124 <mk124a@gmail.com>