Tests launch Cassandra with debug logging enabled
See original GitHub issueLagom Version (1.2.x / 1.3.x / etc)
1.3.6
API (Scala / Java / Neither / Both)
Java
Reproducible Test Case
sbt new lagom/lagom-java.g8 --lagom_version=1.3.6
cd hello
sbt test
Note the extremely verbose output.
I don’t see this when creating a new project from the Scala g8 template or the Java Maven archetype.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Configuring logging | Apache Cassandra 3.0
Logs are written to the system.log and debug.login the Cassandra logging directory. You can configure logging programmatically or manually.
Read more >Cassandra Logs | Apache Cassandra Documentation
Cassandra has three main logs, the system.log , debug.log and gc.log which hold general logging messages, debugging logging messages, and java garbage ...
Read more >commons-logging to debug in Cassandra - Stack Overflow
I'm working on the code of Cassandra 2.2. EDIT: Using the solution below, I got the following output right after starting the debugger:...
Read more >cassandra-dtest/run_dtests.py at trunk - GitHub
--dtest-enable-debug-logging Enable debug logging (for this script, pytest, and during execution of test functions) (default: False).
Read more >The Basics of Monitoring Cassandra | Logging - InformIT
Now your Cassandra node will be running in DEBUG mode. To change it back, just swap the INFO and DEBUG again. To show...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I worked out why this only happens with the Java g8 template, and not with the Scala one:
lagom/lagom-java.g8
is the only one that doesn’t include a defaultlogback.xml
orlogback-test.xml
in the test resources directory. This is picked up off the classpath when launching Cassandra in Lagom 1.3.x.In 1.4.x, the Cassandra bundle used by the launcher includes its own
logback.xml
.So, I think the expedient solution will be to add one to the Java archetype as well. I think it’s good to have config file scaffolding, anyway, so you can make changes without having to copy it in from the docs.
Moved to https://github.com/lagom/lagom-java.g8/issues/19