Rearange the logging Framework