Core/Logging: Fixed DB logging

-All logs were being recorded as realm 0
-Reload broke DB logging