Skip to content

Commit

Permalink
test: reduce podam log flood
Browse files Browse the repository at this point in the history
  • Loading branch information
Regzox committed Nov 13, 2023
1 parent 387099f commit ccfac77
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
~ Copyright French Prime minister Office/SGMAP/DINSIC/Vitam Program (2015-2022)
~
~ contact.vitam@culture.gouv.fr
~
~ This software is a computer program whose purpose is to implement a digital archiving back-office system managing
~ high volumetry securely and efficiently.
~
~ This software is governed by the CeCILL 2.1 license under French law and abiding by the rules of distribution of free
~ software. You can use, modify and/ or redistribute the software under the terms of the CeCILL 2.1 license as
~ circulated by CEA, CNRS and INRIA at the following URL "https://cecill.info".
~
~ As a counterpart to the access to the source code and rights to copy, modify and redistribute granted by the license,
~ users are provided only with a limited warranty and the software's author, the holder of the economic rights, and the
~ successive licensors have only limited liability.
~
~ In this respect, the user's attention is drawn to the risks associated with loading, using, modifying and/or
~ developing or reproducing the software by the user in light of its specific status of free software, that may mean
~ that it is complicated to manipulate, and that also therefore means that it is reserved for developers and
~ experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the
~ software's suitability as regards their requirements in conditions enabling the security of their systems and/or data
~ to be ensured and, more generally, to use and operate it in the same conditions as regards security.
~
~ The fact that you are presently reading this means that you have had knowledge of the CeCILL 2.1 license and that you
~ accept its terms.
-->

<configuration>

<!-- Configuration de la sortie du log vers la console -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender>

<!-- Configuration du logger pour la librairie Podam avec le niveau "warn" -->
<logger name="uk.co.jemos.podam" level="error" />

<!-- Configuration du niveau par défaut -->
<root level="debug">
<appender-ref ref="CONSOLE" />
</root>

</configuration>

Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
~ Copyright French Prime minister Office/SGMAP/DINSIC/Vitam Program (2015-2022)
~
~ contact.vitam@culture.gouv.fr
~
~ This software is a computer program whose purpose is to implement a digital archiving back-office system managing
~ high volumetry securely and efficiently.
~
~ This software is governed by the CeCILL 2.1 license under French law and abiding by the rules of distribution of free
~ software. You can use, modify and/ or redistribute the software under the terms of the CeCILL 2.1 license as
~ circulated by CEA, CNRS and INRIA at the following URL "https://cecill.info".
~
~ As a counterpart to the access to the source code and rights to copy, modify and redistribute granted by the license,
~ users are provided only with a limited warranty and the software's author, the holder of the economic rights, and the
~ successive licensors have only limited liability.
~
~ In this respect, the user's attention is drawn to the risks associated with loading, using, modifying and/or
~ developing or reproducing the software by the user in light of its specific status of free software, that may mean
~ that it is complicated to manipulate, and that also therefore means that it is reserved for developers and
~ experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the
~ software's suitability as regards their requirements in conditions enabling the security of their systems and/or data
~ to be ensured and, more generally, to use and operate it in the same conditions as regards security.
~
~ The fact that you are presently reading this means that you have had knowledge of the CeCILL 2.1 license and that you
~ accept its terms.
-->

<configuration>

<!-- Configuration de la sortie du log vers la console -->
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{35} - %msg%n</pattern>
</encoder>
</appender>

<!-- Configuration du logger pour la librairie Podam avec le niveau "warn" -->
<logger name="uk.co.jemos.podam" level="error" />

<!-- Configuration du niveau par défaut -->
<root level="debug">
<appender-ref ref="CONSOLE" />
</root>

</configuration>

0 comments on commit ccfac77

Please sign in to comment.