Simplified logger

The logger starts with the main thread and doesn't stop.