Use flag based file rotation notification everywhere.
File rotation support for the file json log.
Check SCStrdep return value.