In AppenderSkeleton::closeInternal(), set mIsClosed to true, and set mIsActive to false.
But in AppenderSkeleton::activateOptions(), it only set mIsActive to true.
Is there have some special reason?
I want to close a FileAppender, at sometime reactivate it, the mIsClosed block my way.
In
AppenderSkeleton::closeInternal()
, setmIsClosed
to true, and setmIsActive
to false. But inAppenderSkeleton::activateOptions()
, it only setmIsActive
to true. Is there have some special reason? I want to close a FileAppender, at sometime reactivate it, themIsClosed
block my way.