-
Notifications
You must be signed in to change notification settings - Fork 65
SnatypeClient logs not forwarded to sbt client #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks. I also noticed this issue. airframe-log sends log messages to the standard java.util.logging and stderr, but some sbt-plugins (e.g., sbt-release is one of the examples) may set an unexpected log output target. It would be possible to add a log handler to redirect the default logger output to state.streams.log, but as long as there are other plugins that configure java.util.logging, the same problem can still happen. Adding a log handler between the root logger and org.xerial.sbt.sonatype package specific log handler might mitigate the issue.
|
btw, I think it's sbtn specific issue. It doesn't show any messages from java.util.logging. |
Confirmed the reproduction. Let me handle this issue in airframe-log wvlet/airframe#2777 |
sbt-sonatype 3.9.18 has been released. This will fix the issue |
Thanks a lot! |
Describe the bug
When I trigger
sonatypeBundleRelease
from an sbt client shell (usingsbtn
) I cannot see the logs fromSonatypeClient
. All I see is:How to reproduce the issue
Describe how to reproduce the issue and show the current configurations.
Additional context
I see that you use
wvlet.log
here and that's probably why the logs are not forwarded to sbt clients. Is it possible to configurewvlet.log
to forward the logs to the sbt logger instate.streams.log
?The text was updated successfully, but these errors were encountered: