When you say you are logging everything are you weighing and measuring or eyeballing food.
Have a look at you charts and pick a two week period where you have lost weight at a rate you want, take the average of that period and thats a good guideline or start point to base your daily calorie requirements. Adust up/down from there depending on your next two weeks weight loss and energy levels. Give you self a couple of months tracking and you should be able to eyeball food intake. To help out try and keep standard meals and adjust quantities to suit
I am still a work in progress, so take the below suggestions knowing that your miles may vary and I far from ideal at 18-20%BF mid 40's male desk job.
From my reading of books, websites etc this is the general consensus
A) You will lose muscle mass when dieting, However you can minimise how much you lose by keeping protein and healthy fat levels up in your diet
B) For a beginner lifter with average BF, Cut first to a level you are happy with then increase calories for a slow bulk 1-2lbs per month type of bulk not 5 lbs in a week......
C) To hold onto as much muscle mass and strength as possible, lift same heavy weights low to medium reps, try reverse pyramid or pyramid type lifts
D) Keep up with your compound moves such as Bench, squats, leg press, military press, chins, rows and dips. Continue with SS 5x3 or SL 5x5
My current focus is to do IF and track calories and adjust macros to suit my activity and goal to loses the last 10kgs (22lbs). I have upped my carbs the last two weeks to 150-200gr per day. Daily calories are averaging at 2100 over the last 14 days and I have dropped 3kgs in the last two weeks. The next two weeks I am continuing with IFing (16:08) and going to try carb cycling, less carbs on rest/cardio days more on lift days. My routine is 2 x 1 hour swim squads, 2-3 x Lift days (5x5 SS) and 1 day metcon either KB or sprints. Plus additional play activities like surfing, surf ski paddling etc.