sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timothee Maret (Jira)" <>
Subject [jira] [Created] (SLING-10097) Add a tracker to log FileVault content serializer operations
Date Wed, 27 Jan 2021 09:49:00 GMT
Timothee Maret created SLING-10097:

             Summary: Add a tracker to log FileVault content serializer operations 
                 Key: SLING-10097
             Project: Sling
          Issue Type: Improvement
          Components: Content Distribution
    Affects Versions: Content Distribution Journal Core 0.1.6
            Reporter: Timothee Maret
             Fix For: Content Distribution Journal Core 0.1.18

The [ContentPackageExtractor|] should
report its progress in the logs. This will allow to pin point exactly which path is the root
cause of import problems.

FileVault allows to plug a ProgressTrackerListener for that purpose.

We'd need to add set a progress tracker listener instance on the ImportOption [here|]
and have that tracker log progress.

To avoid flooding the logs, we may keep standard messages at debug level but keep error messages
at ERROR levels.

ImportOptions opts = new ImportOptions();
        opts.setListener(new ProgressTrackerListener() {
            public void onMessage(Mode mode, String s, String s1) {

            public void onError(Mode mode, String s, Exception e) {

This message was sent by Atlassian Jira

View raw message