backported the 1.6 Log _init() method