set loglevel of sample server