<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
 Craeted 24-05-2012 by Marco Bartolini
 causing problems in 2015
-->
<xs:schema 
  targetNamespace="urn:schemas-cosylab-com:CustomLogger:1.0"
  xmlns="urn:schemas-cosylab-com:CustomLogger:1.0"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:cdb="urn:schemas-cosylab-com:CDB:1.0" 
  xmlns:baci="urn:schemas-cosylab-com:BACI:1.0"
  xmlns:mng="urn:schemas-cosylab-com:Managment:1.0"
  elementFormDefault="qualified" 
  attributeFormDefault="unqualified">
  <xs:import namespace="urn:schemas-cosylab-com:CDB:1.0" schemaLocation="CDB.xsd"/>
  <xs:import namespace="urn:schemas-cosylab-com:BACI:1.0" schemaLocation="BACI.xsd"/>
  <xs:import namespace="urn:schemas-cosylab-com:Managment:1.0" schemaLocation="Managment.xsd"/>

  <xs:complexType name="CustomLoggerType">
   <xs:complexContent>
    <xs:extension base="baci:CharacteristicComponent">
     <xs:sequence>
       <xs:element name="filename" type="baci:ROstring"/>
       <xs:element name="nevents" type="baci:ROlong"/>
       <xs:element name="isLogging" type="mng:BooleanType"/>
       <xs:element name="minLevel" type="mng:LogLevelType"/>
       <xs:element name="maxLevel" type="mng:LogLevelType"/>
     </xs:sequence>
     <xs:attribute name="DefaultACSLogDir" type="xs:string" use="required" />
     <xs:attribute name="DefaultACSLogFile" type="xs:string" use="required" />
     <xs:attribute name="DefaultCustomLogDir" type="xs:string" use="required" />
     <xs:attribute name="DefaultCustomLogFile" type="xs:string" use="required" />
     <xs:attribute name="LogMaxAgeMillis" type="xs:long" use="required" />
     </xs:extension>
    </xs:complexContent>
   </xs:complexType>
  <xs:element name="CustomLogger" type="CustomLoggerType"/>
</xs:schema>

