[sr-dev] git:master:6c36b242: log_custom: debug message before setting custom log function