Search in sources :

Example 6 with LoggingDto

use of com.evolveum.midpoint.web.page.admin.configuration.dto.LoggingDto in project midpoint by Evolveum.

the class LoggingConfigPanel method addConsoleAppenderPerformed.

private void addConsoleAppenderPerformed(AjaxRequestTarget target) {
    LoggingDto dto = getModel().getObject();
    AppenderConfiguration appender = new AppenderConfiguration(new AppenderConfigurationType());
    appender.setEditing(true);
    dto.getAppenders().add(appender);
    target.add(getAppendersTable());
}
Also used : FileAppenderConfigurationType(com.evolveum.midpoint.xml.ns._public.common.common_3.FileAppenderConfigurationType) AppenderConfigurationType(com.evolveum.midpoint.xml.ns._public.common.common_3.AppenderConfigurationType) AppenderConfiguration(com.evolveum.midpoint.web.page.admin.configuration.dto.AppenderConfiguration) LoggingDto(com.evolveum.midpoint.web.page.admin.configuration.dto.LoggingDto)

Example 7 with LoggingDto

use of com.evolveum.midpoint.web.page.admin.configuration.dto.LoggingDto in project midpoint by Evolveum.

the class LoggingConfigPanel method addFileAppenderPerformed.

private void addFileAppenderPerformed(AjaxRequestTarget target) {
    LoggingDto dto = getModel().getObject();
    FileAppenderConfig appender = new FileAppenderConfig(new FileAppenderConfigurationType());
    appender.setEditing(true);
    dto.getAppenders().add(appender);
    target.add(getAppendersTable());
}
Also used : FileAppenderConfigurationType(com.evolveum.midpoint.xml.ns._public.common.common_3.FileAppenderConfigurationType) FileAppenderConfig(com.evolveum.midpoint.web.page.admin.configuration.dto.FileAppenderConfig) LoggingDto(com.evolveum.midpoint.web.page.admin.configuration.dto.LoggingDto)

Aggregations

LoggingDto (com.evolveum.midpoint.web.page.admin.configuration.dto.LoggingDto)7 TablePanel (com.evolveum.midpoint.web.component.data.TablePanel)3 AppenderConfiguration (com.evolveum.midpoint.web.page.admin.configuration.dto.AppenderConfiguration)3 ClassLoggerConfigurationType (com.evolveum.midpoint.xml.ns._public.common.common_3.ClassLoggerConfigurationType)3 FileAppenderConfigurationType (com.evolveum.midpoint.xml.ns._public.common.common_3.FileAppenderConfigurationType)2 ArrayList (java.util.ArrayList)2 AbstractReadOnlyModel (org.apache.wicket.model.AbstractReadOnlyModel)2 ClassLogger (com.evolveum.midpoint.web.page.admin.configuration.dto.ClassLogger)1 ComponentLogger (com.evolveum.midpoint.web.page.admin.configuration.dto.ComponentLogger)1 FileAppenderConfig (com.evolveum.midpoint.web.page.admin.configuration.dto.FileAppenderConfig)1 StandardLogger (com.evolveum.midpoint.web.page.admin.configuration.dto.StandardLogger)1 AppenderConfigurationType (com.evolveum.midpoint.xml.ns._public.common.common_3.AppenderConfigurationType)1