Setting up logging

I hate to post this as I’m sure this has come up a ton of times before but I’m trying to write rules and I’m using logging to debug them. When I do a logDebug it logs to the openhab.log file but then I have to try to catch the messages I need in that log while tons of others pass by. I’d like to log from my rules into its own file. I can’t seem to find logging documentation. I’m sure it’s been talked about before but can someone just point me to the documentation or to any good information.

Thanks!

Awesome that worked perfectly! Thanks for the quick reply!