```xml
<log4net>
  <appender name="RAW" type="log4net.Appender.RollingFileAppender">
    <file value="${ctx:APP_LOG_ROOT}\${ctx:DEVICEID}\Raw\" />
    <appendToFile value="true" />
    <maximumFileSize value="10MB" />
    <rollingStyle value ="Composite" />
    <maxSizeRollBackups value="999"/>
    <datePattern value="${ctx:DATE_PATTERN}\\${ctx:FILE_PATTERN}'-RawByte.log'"/>
    <preserveLogFileNameExtension value="true" />
    <encoding value="utf-8" />
    <staticLogFileName value="false" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="[%d{HH:mm:ss.fff}][%-5p] - %m%n" />
    </layout>
    <immediateFlush value="true"/>
  </appender>

  <appender name="SECS" type="log4net.Appender.RollingFileAppender">
    <file value="${ctx:APP_LOG_ROOT}\${ctx:DEVICEID}\SECS_Header\" />
    <appendToFile value="true" />
    <maximumFileSize value="10MB" />
    <rollingStyle value ="Composite" />
    <maxSizeRollBackups value="999"/>
    <datePattern value="${ctx:DATE_PATTERN}\\${ctx:FILE_PATTERN}'-SECS_Header.log'"/>
    <preserveLogFileNameExtension value="true" />
    <encoding value="utf-8" />
    <staticLogFileName value="false" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="[%d{HH:mm:ss.fff}][%-5p] - %m%n" />
    </layout>
    <immediateFlush value="true"/>
  </appender>

  <appender name="SECSDATA" type="log4net.Appender.RollingFileAppender">
    <file value="${ctx:APP_LOG_ROOT}\${ctx:DEVICEID}\SECS_Data\" />
    <appendToFile value="true" />
    <maximumFileSize value="10MB" />
    <rollingStyle value ="Composite" />
    <maxSizeRollBackups value="999"/>
    <datePattern value="${ctx:DATE_PATTERN}\\${ctx:FILE_PATTERN}'-SECS_Data.log'"/>
    <preserveLogFileNameExtension value="true" />
    <encoding value="utf-8" />
    <staticLogFileName value="false" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="[%d{HH:mm:ss.fff}][%-5p] - %m%n" />
    </layout>
    <immediateFlush value="true"/>
  </appender>

  <appender name="DRIVER" type="log4net.Appender.RollingFileAppender">
    <file value="${ctx:APP_LOG_ROOT}\${ctx:DEVICEID}\Driver\" />
    <appendToFile value="true" />
    <maximumFileSize value="10MB" />
    <rollingStyle value ="Composite" />
    <maxSizeRollBackups value="999"/>
    <datePattern value="${ctx:DATE_PATTERN}\\${ctx:FILE_PATTERN}'-Driver.log'"/>
    <preserveLogFileNameExtension value="true" />
    <encoding value="utf-8" />
    <staticLogFileName value="false" />
    <layout type="log4net.Layout.PatternLayout">
      <conversionPattern value="[%d{HH:mm:ss.fff}][%-5p] - %m%n" />
    </layout>
    <immediateFlush value="true"/>
  </appender>

  <logger name="IOBridge_SECS.RAW" additivity="false">
    <level value="ALL" />
    <appender-ref ref="RAW" />
  </logger>

  <logger name="IOBridge_SECS.SECS" additivity="false">
    <level value="ALL" />
    <appender-ref ref="SECS" />
  </logger>

  <logger name="IOBridge_SECS.SECSDATA" additivity="false">
    <level value="ALL" />
    <appender-ref ref="SECSDATA" />
  </logger>

  <logger name="IOBridge_SECS.DRIVER" additivity="false">
    <level value="ALL" />
    <appender-ref ref="DRIVER" />
  </logger>

</log4net>
```