[
https://issues.apache.org/jira/browse/SLING-10527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17370495#comment-17370495
]
Timothee Maret commented on SLING-10527:
----------------------------------------
I think that we should avoid to log importing to limit the volume of logs we
produce to the minimum. The information you relied on should be available in
the logs produced on author. You are correct that currently we don't log the
offset, we could and I have filed SLING-10564 to track that work.
> Log imported instead of importing package
> -----------------------------------------
>
> Key: SLING-10527
> URL: https://issues.apache.org/jira/browse/SLING-10527
> Project: Sling
> Issue Type: Bug
> Components: Content Distribution
> Reporter: Timothee Maret
> Assignee: Timothee Maret
> Priority: Major
> Fix For: Content Distribution Journal Core 0.1.18
>
>
> Currently the package import is logged at INFO level before processing the
> package
> {code}
> log.info("Importing distribution package {} at offset={}", pkgMsg, offset);
> {code}
> This makes it difficult to figure out if there was an error with the import
> because one has to seek further logs to see if the package import failed or
> (worst) no log if the package was imported successfully. We should ensure
> that a single log statement is logged upon import, either the import
> succeeded or failed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)