<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.byte-welt.net/index.php?action=history&amp;feed=atom&amp;title=Log4J2_-_Einfaches_Konfigurationsfile</id>
	<title>Log4J2 - Einfaches Konfigurationsfile - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.byte-welt.net/index.php?action=history&amp;feed=atom&amp;title=Log4J2_-_Einfaches_Konfigurationsfile"/>
	<link rel="alternate" type="text/html" href="https://wiki.byte-welt.net/index.php?title=Log4J2_-_Einfaches_Konfigurationsfile&amp;action=history"/>
	<updated>2026-08-11T05:56:33Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Byte-Welt Wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.byte-welt.net/index.php?title=Log4J2_-_Einfaches_Konfigurationsfile&amp;diff=6600&amp;oldid=prev</id>
		<title>Headnut am 5. Oktober 2014 um 14:37 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.byte-welt.net/index.php?title=Log4J2_-_Einfaches_Konfigurationsfile&amp;diff=6600&amp;oldid=prev"/>
		<updated>2014-10-05T14:37:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. Oktober 2014, 14:37 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l112&quot;&gt;Zeile 112:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 112:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code=xml&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/code=xml&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--[[Benutzer:headnut|headnut]] 16:36, 05. Okt 2014 (CET)&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Java]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Kategorie:Java Grundlagen]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key bytewelt_wiki:diff:1.41:old-6599:rev-6600:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Headnut</name></author>
	</entry>
	<entry>
		<id>https://wiki.byte-welt.net/index.php?title=Log4J2_-_Einfaches_Konfigurationsfile&amp;diff=6599&amp;oldid=prev</id>
		<title>Headnut am 5. Oktober 2014 um 14:35 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.byte-welt.net/index.php?title=Log4J2_-_Einfaches_Konfigurationsfile&amp;diff=6599&amp;oldid=prev"/>
		<updated>2014-10-05T14:35:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 5. Oktober 2014, 14:35 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Zeile 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Aus dem Java Program kann nun in die einzelnen Levels geschrieben werden:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Aus dem Java Program kann nun in die einzelnen Levels geschrieben werden:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;code=java&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;log.info(&quot;Hello world - info log&quot;);&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;/code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;code=java&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/ins&gt;log.info(&quot;Hello world - info log&quot;);&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=java&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;code=java&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;log.warn(&quot;Hello world - warn log&quot;);&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;/code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;code=java&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/ins&gt;log.warn(&quot;Hello world - warn log&quot;);&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=java&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;code=java&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;log.erro(&quot;Hello world - error log&quot;);&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;/code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;code=java&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/ins&gt;log.erro(&quot;Hello world - error log&quot;);&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=java&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In der Console kommt jede Ausgabe, in den Logfiles nur die der entsprechenden Ebene:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In der Console kommt jede Ausgabe, in den Logfiles nur die der entsprechenden Ebene:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;code=xml&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;code=xml&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;gt;&lt;/ins&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;Configuration&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;Configuration&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;lt;Appenders&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	&amp;lt;Appenders&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l111&quot;&gt;Zeile 111:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/Configuration&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/Configuration&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[&lt;/del&gt;/code&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;&lt;/ins&gt;/code&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=xml&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Headnut</name></author>
	</entry>
	<entry>
		<id>https://wiki.byte-welt.net/index.php?title=Log4J2_-_Einfaches_Konfigurationsfile&amp;diff=6598&amp;oldid=prev</id>
		<title>Headnut: Die Seite wurde neu angelegt: „Die Log4J2 Konfigurationsdatei speichert im Ordner logs drei Dateien (Infos.log, Warn.log, Error.log)   Aus dem Java Program kann nun in die einzelnen Levels gesc…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.byte-welt.net/index.php?title=Log4J2_-_Einfaches_Konfigurationsfile&amp;diff=6598&amp;oldid=prev"/>
		<updated>2014-10-05T14:34:11Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Die Log4J2 Konfigurationsdatei speichert im Ordner logs drei Dateien (Infos.log, Warn.log, Error.log)   Aus dem Java Program kann nun in die einzelnen Levels gesc…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Die Log4J2 Konfigurationsdatei speichert im Ordner logs drei Dateien (Infos.log, Warn.log, Error.log) &lt;br /&gt;
&lt;br /&gt;
Aus dem Java Program kann nun in die einzelnen Levels geschrieben werden:&lt;br /&gt;
&lt;br /&gt;
[code=java]log.info(&amp;quot;Hello world - info log&amp;quot;);[/code]&lt;br /&gt;
[code=java]log.warn(&amp;quot;Hello world - warn log&amp;quot;);[/code]&lt;br /&gt;
[code=java]log.erro(&amp;quot;Hello world - error log&amp;quot;);[/code]&lt;br /&gt;
&lt;br /&gt;
In der Console kommt jede Ausgabe, in den Logfiles nur die der entsprechenden Ebene:&lt;br /&gt;
&lt;br /&gt;
[code=xml]&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;Configuration&amp;gt;&lt;br /&gt;
	&amp;lt;Appenders&amp;gt;&lt;br /&gt;
		&amp;lt;!-- Ausgabe in der Konsole --&amp;gt;&lt;br /&gt;
		&amp;lt;!-- Keine Filter angewendet --&amp;gt;&lt;br /&gt;
		&amp;lt;Console name=&amp;quot;STDOUT&amp;quot; target=&amp;quot;SYSTEM_OUT&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;PatternLayout pattern=&amp;quot;%d %-5p [%t] %C{2} (%F:%L) - %m%n&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;/Console&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- Aufzeichnen der Infos - Ausgaben --&amp;gt;&lt;br /&gt;
		&amp;lt;RollingFile name=&amp;quot;fileInfo&amp;quot; fileName=&amp;quot;logs/Info.log&amp;quot;&lt;br /&gt;
			filePattern=&amp;quot;logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.info.gz&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Layout des Textes --&amp;gt;&lt;br /&gt;
			&amp;lt;PatternLayout&amp;gt;&lt;br /&gt;
				&amp;lt;pattern&amp;gt;%d %-5p [%t] %C{2} (%F:%L) - %m%n&amp;lt;/pattern&amp;gt;&lt;br /&gt;
			&amp;lt;/PatternLayout&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Filter --&amp;gt;&lt;br /&gt;
			&amp;lt;Filters&amp;gt;&lt;br /&gt;
				&amp;lt;ThresholdFilter level=&amp;quot;info&amp;quot; /&amp;gt;&lt;br /&gt;
				&amp;lt;ThresholdFilter level=&amp;quot;warn&amp;quot; onMatch=&amp;quot;DENY&amp;quot;&lt;br /&gt;
					onMismatch=&amp;quot;NEUTRAL&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;/Filters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Maximale Groesse des Files --&amp;gt;&lt;br /&gt;
			&amp;lt;Policies&amp;gt;&lt;br /&gt;
				&amp;lt;SizeBasedTriggeringPolicy size=&amp;quot;5 MB&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;/Policies&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Maximale Anzahl der Files die gesichert werden --&amp;gt;&lt;br /&gt;
			&amp;lt;DefaultRolloverStrategy max=&amp;quot;20&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;/RollingFile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- Aufzeichnen der Warn - Ausgaben --&amp;gt;&lt;br /&gt;
		&amp;lt;RollingFile name=&amp;quot;fileWarn&amp;quot; fileName=&amp;quot;logs/Warn.log&amp;quot;&lt;br /&gt;
			filePattern=&amp;quot;logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.warn.gz&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Layout des Textes --&amp;gt;&lt;br /&gt;
			&amp;lt;PatternLayout&amp;gt;&lt;br /&gt;
				&amp;lt;pattern&amp;gt;%d %-5p [%t] %C{2} (%F:%L) - %m%n&amp;lt;/pattern&amp;gt;&lt;br /&gt;
			&amp;lt;/PatternLayout&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Filter --&amp;gt;&lt;br /&gt;
			&amp;lt;Filters&amp;gt;&lt;br /&gt;
				&amp;lt;ThresholdFilter level=&amp;quot;warn&amp;quot; /&amp;gt;&lt;br /&gt;
				&amp;lt;ThresholdFilter level=&amp;quot;error&amp;quot; onMatch=&amp;quot;DENY&amp;quot;&lt;br /&gt;
					onMismatch=&amp;quot;NEUTRAL&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;/Filters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Maximale Groesse des Files --&amp;gt;&lt;br /&gt;
			&amp;lt;Policies&amp;gt;&lt;br /&gt;
				&amp;lt;SizeBasedTriggeringPolicy size=&amp;quot;5 MB&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;/Policies&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Maximale Anzahl der Files die gesichert werden --&amp;gt;&lt;br /&gt;
			&amp;lt;DefaultRolloverStrategy max=&amp;quot;20&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;/RollingFile&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;!-- Aufzeichnen der Error - Ausgaben --&amp;gt;&lt;br /&gt;
		&amp;lt;RollingFile name=&amp;quot;fileError&amp;quot; fileName=&amp;quot;logs/Error.log&amp;quot;&lt;br /&gt;
			filePattern=&amp;quot;logs/$${date:yyyy-MM}/app-%d{MM-dd-yyyy}-%i.error.gz&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Layout des Textes --&amp;gt;&lt;br /&gt;
			&amp;lt;PatternLayout&amp;gt;&lt;br /&gt;
				&amp;lt;pattern&amp;gt;%d %-5p [%t] %C{2} (%F:%L) - %m%n&amp;lt;/pattern&amp;gt;&lt;br /&gt;
			&amp;lt;/PatternLayout&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Filter --&amp;gt;&lt;br /&gt;
			&amp;lt;Filters&amp;gt;&lt;br /&gt;
				&amp;lt;ThresholdFilter level=&amp;quot;error&amp;quot; onMatch=&amp;quot;ACCEPT&amp;quot;&lt;br /&gt;
					onMismatch=&amp;quot;DENY&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;/Filters&amp;gt;&lt;br /&gt;
&lt;br /&gt;
			&amp;lt;!-- Maximale Groesse des Files --&amp;gt;&lt;br /&gt;
			&amp;lt;Policies&amp;gt;&lt;br /&gt;
				&amp;lt;SizeBasedTriggeringPolicy size=&amp;quot;5 MB&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;/Policies&amp;gt;&lt;br /&gt;
			&lt;br /&gt;
			&amp;lt;!-- Maximale Anzahl der Files die gesichert werden --&amp;gt;&lt;br /&gt;
			&amp;lt;DefaultRolloverStrategy max=&amp;quot;20&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;/RollingFile&amp;gt;&lt;br /&gt;
	&amp;lt;/Appenders&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;Loggers&amp;gt;&lt;br /&gt;
		&amp;lt;Logger name=&amp;quot;org.apache.log4j2.xml&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;appender-ref ref=&amp;quot;fileInfo&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;appender-ref ref=&amp;quot;fileWarn&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;appender-ref ref=&amp;quot;fileError&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;/Logger&amp;gt;&lt;br /&gt;
&lt;br /&gt;
		&amp;lt;Root level=&amp;quot;info&amp;quot;&amp;gt;&lt;br /&gt;
			&amp;lt;AppenderRef ref=&amp;quot;STDOUT&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;AppenderRef ref=&amp;quot;fileInfo&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;AppenderRef ref=&amp;quot;fileWarn&amp;quot; /&amp;gt;&lt;br /&gt;
			&amp;lt;AppenderRef ref=&amp;quot;fileError&amp;quot; /&amp;gt;&lt;br /&gt;
		&amp;lt;/Root&amp;gt;&lt;br /&gt;
	&amp;lt;/Loggers&amp;gt;&lt;br /&gt;
&amp;lt;/Configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[/code]&lt;/div&gt;</summary>
		<author><name>Headnut</name></author>
	</entry>
</feed>