rm boost shared_ptr
add weak callback
rm shared_ptr of thread
rm logconfig head
rm logconfig