You need to check the Javascript logging level in your NeoLoad preferences so it can match your logger level.
For instance, go to menu "Edit-->Preferences-->Project settings tab --> Runtime parameters.
If you use "logger.debug" you need to select "DEBUG" from the drop down list.