bema/func/log4j_logging #6
| @@ -2,11 +2,11 @@ | ||||
| <Configuration status="WARN"> | ||||
| 	<Appenders> | ||||
| 		<Console name="Console" target="SYSTEM_OUT"> | ||||
| 			<PatternLayout pattern="%d{HH:mm:ss.SSS} %-5level - %msg%n"/> | ||||
| 			<PatternLayout pattern="%d{HH:mm:ss.SSS} [%c] %-5level - %msg%n"/> | ||||
| 		</Console> | ||||
| 		<File name="File" fileName="/tmp/log4j2.log" append="true"> | ||||
| 		<File name="File" fileName="/tmp/xml_tools_java_backend.log" append="true"> | ||||
| 			<PatternLayout> | ||||
| 				<Pattern>%d{HH:mm:ss.SSS} [%t] %-5level - %msg%n</Pattern> | ||||
| 				<Pattern>%d{HH:mm:ss.SSS} [%c] %-5level - %msg%n</Pattern> | ||||
| 			</PatternLayout> | ||||
| 		</File> | ||||
| 	</Appenders> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user