-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from CodeSystem2022/elfabri-patch-2
2.4 Quitamos los errores y ejecutamos #39
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
Java/Lección01/Lección01/estudiantes/src/main/resources/logback-spring.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<configuration> | ||
|
||
<!-- Appender for logging within the console --> | ||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<!-- Pattern of the console logging --> | ||
|
||
<!-- %d - Date and time --> | ||
<!-- %thread - Thread name --> | ||
<!-- %level - Log level (%p also works) --> | ||
<!-- %logger - Logger name --> | ||
<!-- %msg - Log message (%m also works) --> | ||
<!-- %n - Line separator --> | ||
|
||
<!-- %d{yyyy-MMM-dd HH:mm:ss} - Custom Date/Time format --> | ||
<!-- %-5level - Left justification flag - Use spaces for right padding if characters < 5 --> | ||
<!-- %logger{36} - Abbreviate --> | ||
|
||
<!-- [Date and time] [Thread] LoggingLevel : LoggerName - Logging message --> | ||
<pattern>[%thread] %-5level: %logger - %msg%n</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<!-- Logging levels are, in order of precedence -> TRACE, DEBUG, INFO, WARN and ERROR --> | ||
<root level="info"> | ||
<appender-ref ref="STDOUT"/> | ||
</root> | ||
|
||
</configuration> |