Implement Puree.flush

Enable to flush logs on application created.