Fix typos in names of constants
Remove warning when debug logs are disabled