Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Fixes

- Run as container, errors are merged into stdout (instead of going to stderr)

## [1.13.0] - 2021-12-24

- added passwordless support
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ static void initPool(Start start) {
}
if (!longMessagePrinted) {
longMessagePrinted = true;
Logging.info(start, errorMessage);
Logging.error(start, errorMessage, true);
}
double minsRemaining = (maxTryTime - System.currentTimeMillis()) / (1000.0 * 60);
NumberFormat formatter = new DecimalFormat("#0.0");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ private Logger createLoggerForConsole(Start start, String name) {
logConsoleAppender.setEncoder(ple);
logConsoleAppender.setContext(lc);
logConsoleAppender.start();
if (name.startsWith("io.supertokens.storage.postgresql.Error")) {
logConsoleAppender.setTarget("System.err");
}

Logger logger = (Logger) LoggerFactory.getLogger(name);
logger.addAppender(logConsoleAppender);
Expand Down