Creating a logger for logging preview and download actions that records session id, query text and the sound id that was engaged in the download/preview action