run $chan($active).logfile

that would look like: #channel.logfile

look in your logs folder how the files are named, then let mirc have the path to your log file.. C:\mirc\logs or what you have for path to it.