net: app: Fix debug level check
net: app: Fix debug level check

We need to check the debug level to be INFO or higher, otherwise
the some of the variables in net app init.c will give unused
warning. Also the sys_log.h needs to be included _after_ we have
set the logging level, this is done by net_core.h so we should
not include the syslog header file here.

Signed-off-by: Jukka Rissanen <f9f077d1da4c7aa947f9864fa5a28c3588f6a45d@linux.intel.com>

kraj/zephyr,GiulianoFranchetto/zephyr,zephyrproject-rtos/zephyr,punitvara/zephyr,Vudentz/zephyr,punitvara/zephyr,explora26/zephyr,zephyriot/zephyr,ldts/zephyr,zephyriot/zephyr,Vudentz/zephyr,explora26/zephyr,galak/zephyr,punitvara/zephyr,explora26/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,mbolivar/zephyr,mbolivar/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,kraj/zephyr,Vudentz/zephyr,galak/zephyr,zephyriot/zephyr,zephyrproject-rtos/zephyr,galak/zephyr,nashif/zephyr,explora26/zephyr,kraj/zephyr,zephyriot/zephyr,GiulianoFranchetto/zephyr,Vudentz/zephyr,punitvara/zephyr,galak/zephyr,zephyriot/zephyr,GiulianoFranchetto/zephyr,kraj/zephyr,nashif/zephyr,ldts/zephyr,ldts/zephyr,finikorg/zephyr,Vudentz/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,ldts/zephyr,finikorg/zephyr,mbolivar/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,finikorg/zephyr,mbolivar/zephyr,finikorg/zephyr,punitvara/zephyr,galak/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,mbolivar/zephyr,finikorg/zephyr,nashif/zephyr,kraj/zephyr