MarzhinLogs.xml 1.78 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
<?xml version='1.0' encoding='ISO-8859-1'?>

<configuration xmlns="http://virtualys.com/vcore/vconf/1.0">

	<!-- Gestion des logs -->
	<category name='log'>
		<value name='system' value='Std'/>
		
		<!-- Handlers -->
		<category name='handlers'>
			
			<!-- Handler des messages d'information -->
			<category name='console'>
				<value name='class' value='java.util.logging.ConsoleHandler'/>
				<category name='properties'>
					<value name='encoding' value='ISO-8859-1'/>
					<value name='level' value='FINE'/>
					<value name='formatter' value='com.virtualys.vcore.util.logging.SimplePatternFormatter'/>
					<map name='format-patterns'>
						<pair>
							<value>*</value>
							<value><![CDATA[> {raw-msg}
]]></value>
						</pair>
						<pair>
							<value>WARNING</value>
							<value><![CDATA[[{level}] {raw-msg}
]]></value>
						</pair>
						<pair>
							<value>SEVERE</value>
							<value><![CDATA[[{level}] {date-time} : {msg}
Exception : {throw}
{throw-stack}
]]></value>
						</pair>
					</map>
				</category>
			</category>
			
		</category>

		<!-- Catgories de logs -->
		<category name='loggers'>
		
			<!-- Catgorie de log racine pour la bibliothque vcore -->
			<category name='vcore'>
				<value name='res-bundle' value='com.virtualys.vcore.resources.VirtualysResources'/>
				<value name='level' value='FINEST'/>
				<value name='use-parent-handlers' class='boolean' value='false'/>
				<list name='handlers'>
					<value value='console'/>
				</list>
			</category>
		
			<!-- Logs relatifs  l'application -->
			<category name='ellidiss'>
				<value name='level' value='FINE'/>
				<value name='use-parent-handlers' class='boolean' value='false'/>
				<list name='handlers'>
					<value value='console'/>
				</list>
			</category>

		</category>
		
	</category>
</configuration>