simple script to log requests to bg