Updating logger for __construct()