Log to stderr if log to file fails
Merge branch 'logger'
Implement SetReferenceTimePack