Log is public to support flag callbacks, new flag exceptions, logfile flag registered