Fix: manage pre-daemon logs. Fix #1320