Feature: control over what goes to file like minOutputLevel.
Bug: memory leak is removed. gshared AA cannot be cleanup properly.