MEONMedical / Log4Qt

Log4Qt - Logging for the Qt cross-platform application framework
Apache License 2.0
589 stars 235 forks source link

Once a AppenderSkeleton called close(),it can't be opened any more. #57

Open youmeiyougc opened 3 years ago

youmeiyougc commented 3 years ago

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.