Sll the previous advice is great advice and I cannot add to it other than problem/solution type of scenario's (very logical/analytical type). It appears You have T1D and based on that assumption and only my opinion, you're on your way. T2D in my opinion is a lot more difficult to manage but everyone is different and the options out there are overwhelming times.
Best advice is find something that helps, stick with it and move onto other solution to help improve upon it. For me, again everyone is different, the "newer" technologies have made a significant difference. These include an insulin pump, a CGM and a good glucose meter (all meters aren't the same and some are more accurate than others).
The basics: information is absolute power!
So critical to make management easier. The logs, etc. is the old-school way which works, but still is a LOT of work. If you're able, best to get a CGM to know what's happening and when. This made a huge impact for me. (I over monitor but there are other factors that aren't relevant here). If you can't get a CGM, work with your endo to make sure you have all the glucose strips you need. 4x a day just does not cut it.
Next, need to have a great 'basal' (24 hour insulin or insulin pump basal) as your foundation. There are things that will impact this that you need to keep in the back of your mind. Stress (short or long-term) will cause BG to rise along with normal everyday circadian rhythm (bodies normal functions on a repeating cycle). Cortisol also plays a critical role and is the bodies way to help raise blood glucose in a "fight or flight" mode for energy to run from the danger your perceive. Body doesn't know the difference between mental stress or life/danger stress but raises the blood sugar the same for both. Also when this happens, bring that glucose down is next to impossible. This can cause issues and be that "unexplainable explanation" for spikes in blood glucose or glucose that just won't come down (in these situations, talk to your endo about using over the counter Alpha Lipoic Acid -- it'll break that barrier and allow glucose to come down -- great for T2D at mealtime).
Also, sleep schedule can impact the basal. If you sleep/wake at different random times, this can affect your circadian rhythm and the times at which your body produces more cortisol and releases glucagon/glucose to wake you up and any other spikes through the day your body wants to release glucose for energy. For example, me it's at ~3am, ~9am, 3pm and again at 9pm (every 6 hours). The CGM helps with this too to know your times your BG spikes, etc. Again, information is absolute power.
Once you have your information & basal, the CGM will tell you how well you're managing your meal time insulin or bolus. I've noticed my nephew from being younger and as he got older still took insulin after he finished eating was largely impacting his A1C -- endo never transitioned him into the way he needed to do it. Very important to do your best at guesstimating what you expect to eat and take your insulin ~15 minutes prior to eating to help with those post-meal spikes. Adjustments will need to be made how soon or how much later you need to take it but the CGM provides this information to make the proper adjustments.
Don't try it all at once. Take baby steps and each accomplishment builds for the next step setting it up for success. There are many of us that are here and don't think of it as a single solution, you can't. Another favorite expression I have it's about dividing and conquering. Isolate and knock it out -- baby steps. You do it that way and the impossible becomes possible.