added log level handling to debian default file and init script

- fixed indentation in main.c