Skip to content

Commit 44c8f70

Browse files
authored
Merge pull request #777 from naphelps/issue-776
Issue 776: Fixed log level of basic response information.
2 parents abf04d6 + 983a5a1 commit 44c8f70

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
66

7+
## [2.128.1](https://github.com/open-horizon/exchange-api/pull/777) - 2025-06-18
8+
- Issue 776: Fixed log level of basic response information.
9+
710
## [2.128.0](https://github.com/open-horizon/exchange-api/pull/774) - 2025-06-12
811
- Add support for internal API key management and authentication.
912
- Create APIKEY table and handle schema migration.

src/main/resources/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.128.0
1+
2.128.1

src/main/scala/org/openhorizon/exchangeapi/ExchangeApiApp.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ object ExchangeApiApp extends App
295295
case _ => "<invalid-auth-format>"
296296
}
297297
// Now log all the info
298-
Option(LogEntry(s"${req.uri.authority.host.address}:$authId ${req.method.name} ${req.uri}: ${res.status}", Logging.DebugLevel))
298+
Option(LogEntry(s"${req.uri.authority.host.address}:$authId ${req.method.name} ${req.uri}: ${res.status}", Logging.InfoLevel))
299299
//case Rejected(rejections) => Some(LogEntry(s"${req.method.name} ${req.uri}: rejected with: $rejections", Logging.InfoLevel)) // <- left here for when you temporarily want to see the full list of rejections that pekko produces
300300
case Rejected(rejections) =>
301301
// Sometimes pekko produces a bunch of MethodRejection objects (for http methods in the routes that didn't match) and then

0 commit comments

Comments
 (0)