- added log level to core for better debugging