Log topic is not shown correctly in production mode #16

Closed
opened 2023-06-26 23:40:33 +09:00 by AnthonyKwon · 1 comment
AnthonyKwon commented 2023-06-26 23:40:33 +09:00 (Migrated from github.com)

image

{"timestamp":"2023-06-21T02:41:13.255Z", "topic":"undefined", "level":"info", "message":"Connected to Chatty (Dev)!"}
{"timestamp":"2023-06-21T02:41:13.257Z", "topic":"undefined", "level":"info", "message":"Reloading slash commands..."}
{"timestamp":"2023-06-21T02:41:13.527Z", "topic":"undefined", "level":"verbose", "message":"Started refreshing 6 application (/) commands."}
{"timestamp":"2023-06-21T02:41:14.061Z", "topic":"undefined", "level":"verbose", "message":"Successfully reloaded 6 application (/) commands."}

Log topic is always shown as undefined when bot is launched as production mode.

![image](https://github.com/AnthonyKwon/chattybot/assets/12590757/72784cc9-aa5d-4ad1-ad81-738da37a1357) ``` {"timestamp":"2023-06-21T02:41:13.255Z", "topic":"undefined", "level":"info", "message":"Connected to Chatty (Dev)!"} {"timestamp":"2023-06-21T02:41:13.257Z", "topic":"undefined", "level":"info", "message":"Reloading slash commands..."} {"timestamp":"2023-06-21T02:41:13.527Z", "topic":"undefined", "level":"verbose", "message":"Started refreshing 6 application (/) commands."} {"timestamp":"2023-06-21T02:41:14.061Z", "topic":"undefined", "level":"verbose", "message":"Successfully reloaded 6 application (/) commands."} ``` Log topic is always shown as `undefined` when bot is launched as production mode.
AnthonyKwon commented 2023-06-27 01:20:11 +09:00 (Migrated from github.com)

Fixed with commit 4bdd22f2e7.

Fixed with commit 4bdd22f2e7ce1fc4ec0fe8ada8a634f6b9d45420.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AnthonyKwon/chattybot#16
No description provided.