Configuring the connection recording policy