Skip to content

Commit

Permalink
debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
smiklosovic committed May 25, 2023
1 parent 5b6c622 commit 0fbeadd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import com.instaclustr.measure.DataSize;
import com.instaclustr.operations.Operation;
import com.instaclustr.operations.OperationsService;
import software.amazon.awssdk.core.exception.SdkException;

import static com.instaclustr.esop.impl.ManifestEntry.Type.MANIFEST_FILE;
import static com.instaclustr.esop.impl.backup.Backuper.FreshenResult.FRESHENED;
Expand Down
31 changes: 7 additions & 24 deletions src/main/resources/logback.xml
Original file line number Diff line number Diff line change
@@ -1,38 +1,21 @@
<configuration>

<!-- -Dlogback.configurationFile -->

<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level %logger - %msg%n</pattern>
</encoder>
</appender>

<logger name="org.hibernate.validator.internal" level="WARN"/>
<logger name="org.glassfish.jersey.internal" level="ERROR"/>
<logger name="com.datastax" level="WARN"/>

<!-- disable / enable as you wish -->

<logger name="com.instaclustr.esop.impl" level="INFO"/>
<logger name="com.instaclustr.esop.s3" level="INFO"/>
<logger name="com.instaclustr.esop.azure" level="INFO"/>
<logger name="com.instaclustr.esop.gcp" level="INFO"/>
<logger name="com.instaclustr.esop.local" level="INFO"/>
<logger name="com.instaclustr.esop.cli" level="INFO"/>

<logger name="com.instaclustr" level="INFO"/>

<!-- consult https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-logging.html -->

<!--logger name="com.amazonaws.request" level="DEBUG"/>
<logger name="com.amazonaws.request" level="DEBUG"/>
<logger name="com.amazonaws.latency" level="DEBUG"/>
<logger name="org.apache.http.wire" level="DEBUG"/>
<logger name="com.amazonaws" level="DEBUG"/-->
<logger name="software.amazon" level="DEBUG"/>

<!-- end -->
<root level="INFO">

<root level="DEBUG">
<appender-ref ref="STDOUT"/>
</root>
</configuration>

0 comments on commit 0fbeadd

Please sign in to comment.