core: log when OUT actions are called in middleware