Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-lint-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
RUST_LOG: trace
# Should include `INTEGRATION_TEST_BIN` from the `Makefile`
# TODO: Remove `build/libscylla-cpp-driver.*` after https://github.com/scylladb/cpp-rs-driver/issues/164 is fixed.
INTEGRATION_TEST_BIN: |
Expand Down
2 changes: 1 addition & 1 deletion MAINTENANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ other information / procedures useful for maintainers. It is heavily inspired by

## Documentation

TODO (no docs written yet)
Comprehensive Sphinx-compatible documentation lives at /docs.
Note: Due to API compatibility, cpp-driver docs apply to cpp-rs-driver in general. Though, some discrepancies should be well-documented in cpp-rs-driver (some of them are already mentioned in `cassandra.h`).

## Version bump commit
Expand Down
6 changes: 5 additions & 1 deletion tests/src/integration/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ void Logger::log(const CassLogMessage* log, void* data) {
// Create the formatted log message and output to the file
std::string severity = cass_log_level_string(log->severity);
logger->output_ << date.str() << " " << time.str() << " " << severity << ": " << message << " ("
<< log->file << ":" << log->line << ") " << std::endl;
<< log->file << ":" << log->line << ") " << std::endl;

// Also log to stderr so that CI output captures driver logs in real-time.
std::cerr << log->time_ms << " [" << severity << "] ("
<< log->file << ":" << log->line << ") " << message << std::endl;
Comment thread
wprzytula marked this conversation as resolved.
Outdated

Comment thread
wprzytula marked this conversation as resolved.
// Determine if the log message matches any of the criteria
for (std::vector<std::string>::const_iterator iterator = logger->search_criteria_.begin();
Expand Down