no more warning due to non exception safe log_new, basic tests done with weak_ptr works perfectly