Example #1
0
        public Task SetSystemLogLevel(int traceLevel)
        {
            var newTraceLevel = (Severity)traceLevel;

            logger.Info("SetSystemLogLevel={0}", newTraceLevel);
            TraceLogger.SetRuntimeLogLevel(newTraceLevel);
            silo.LocalConfig.DefaultTraceLevel = newTraceLevel;
            return(TaskDone.Done);
        }