fixed logger SQL eample error, add return log contetn