[fix] moved gCurrentLogger to utils
Enabled some warnings in gcc