Best Option for Logging Game Actions

So, recently I have been wanting to look into outer databases such as MongoDB or SQL, but I find them extremely confusing and haven’t been able to find a explanation that suits me. I want to be able to log actions and be able to preview them at a reasonable amount of time after. I mainly want to log game admin actions, (I use the open-source CMDR panel for all my commands).

I basically want to know which software would be best for this, and what would be the best way to implement what I want into the software you recommend.

Many thanks, c: