correct logging for default functions