The first thing should be to borate treat the logs. You can fill the bug holes with Energy Seal Caulk. They make different colors to help match the wood. I’m not a big fan of filling in rotten spots, but if you must, use Wood Epox, Liquidwood or E-wood Putty. You can get these products and advice from Timeless Wood Care Products at 800-564-2987.