Skip to content
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

logback-test.xml is not used #36

Open
patriknw opened this issue Mar 15, 2016 · 3 comments
Open

logback-test.xml is not used #36

patriknw opened this issue Mar 15, 2016 · 3 comments

Comments

@patriknw
Copy link
Contributor

I find it confusing that logback-test.xml is not used.

Can be reproduced in service-integration-tests by renaming lagom-service-integration-tests/src/test/resources/logback.xml to /lagom-service-integration-tests/src/test/resources/logback-test.xml

@TimMoore TimMoore added this to the 1.5.0 milestone Aug 3, 2017
@TimMoore TimMoore removed this from the Lagom 1.5.0 milestone Jun 18, 2018
@stijndehaes
Copy link
Contributor

I am having the same issue in a project of mine. Any work around available?

@lapidus79
Copy link

I am having the same issue in a project of mine. Any work around available?

@stijndehaes

You could do override the logging configuration in build.sbt when running tests

lazy val `my-impl` = (project in file("my-impl"))
  .enablePlugins(LagomJava)
  .settings(lagomForkedTestSettings: _*)
  .settings(javaOptions in Test += s"-Dlogger.resource=logback-test.xml")
....

@ignasi35
Copy link
Contributor

I think this is currently affecting Maven projects (but not sbt projects)

cc @renatocaval

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

7 participants