rtrm HF Staff commited on
Commit
86afb5e
·
unverified ·
1 Parent(s): 55137e7

fix(logger): rename message field in logs (#2015)

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. src/lib/server/logger.ts +1 -0
README.md CHANGED
@@ -1,5 +1,5 @@
1
- # Chat UI
2
-
3
  ![Chat UI repository thumbnail](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/chat-ui/chat-ui-2026.png)
4
 
5
  A chat interface for LLMs. It is a SvelteKit app and it powers the [HuggingChat app on hf.co/chat](https://huggingface.co/chat).
 
1
+ # Chat UI
2
+
3
  ![Chat UI repository thumbnail](https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/chat-ui/chat-ui-2026.png)
4
 
5
  A chat interface for LLMs. It is a SvelteKit app and it powers the [HuggingChat app on hf.co/chat](https://huggingface.co/chat).
src/lib/server/logger.ts CHANGED
@@ -17,6 +17,7 @@ if (dev) {
17
 
18
  export const logger = pino({
19
  ...options,
 
20
  level: config.LOG_LEVEL || "info",
21
  formatters: {
22
  level: (label) => {
 
17
 
18
  export const logger = pino({
19
  ...options,
20
+ messageKey: "message",
21
  level: config.LOG_LEVEL || "info",
22
  formatters: {
23
  level: (label) => {