added flag for discluding log manager from library