Can one have more detailed control over logging??

All I know about is a total debug log, and how to take library stuff away from that log.
Is there any way to set up logging in a more detailed way?
I'd like to have detailed debug logging, but only for a short time after a specific trigger; i e for maybe 1-5 minutes after I try to play one specific online resource.
Or maybe detailed logging for anything that accesses resources on a specific set of URLs.
I have a problem where a set of online resources flicker on and off at irregular intervals; first you can play them, maybe for 10 minutes or a few hours, then they won't play: I e, they ALMOST play, there's a duration known to the player, but then it all just dies. After a few hours, things play nicely again.
Is there any way to set up logging in a more detailed way?
I'd like to have detailed debug logging, but only for a short time after a specific trigger; i e for maybe 1-5 minutes after I try to play one specific online resource.
Or maybe detailed logging for anything that accesses resources on a specific set of URLs.
I have a problem where a set of online resources flicker on and off at irregular intervals; first you can play them, maybe for 10 minutes or a few hours, then they won't play: I e, they ALMOST play, there's a duration known to the player, but then it all just dies. After a few hours, things play nicely again.