Logging should emit task names, not just main. Probably task names should migrate to task-locals, when they exist, and logging should move to core.