else if("request-timeout".equals(name)) {
updateLogSettings(name, level,virtualpath, maxfile, maxfilesize, "application","requesttimeout") ;
}
else if("schedule-task".equals(name)) {
if(config instanceof ConfigServer)
throw new ApplicationException("scheduled task logger is not supported for server context");
updateLogSettings(name, level,virtualpath, maxfile, maxfilesize, "scheduler") ;
}
else if("search".equals(name)) {
if(config instanceof ConfigServer)
throw new ApplicationException("search logger is not supported for server context");
updateLogSettings(name, level,virtualpath, maxfile, maxfilesize, "search") ;
}
else {
throw new ApplicationException("invalid logger name ["+name+"], supported names are [application,exception,trace,thread,orm,gateway,mail,mapping,remote-client,request-timeout,request-timeout,schedule-task,search]");
}
}