logging: fix bad padding caused by file source prefix #6

Closed
opened 2020-11-14 10:45:42 +01:00 by ashpie · 0 comments
Owner

Example log from dev console:

[Node] 2020-11-14 09:32:33.724.000       INFO   [dist/src/src/src/Application.ts:61]            Example App v0.22.5 - hi 
[Node] 2020-11-14 09:32:33.725.000       INFO   [dist/src/src/src/Application.ts:49 TestApp.use]                Added websocket listener on /magic-link 
[Node] 2020-11-14 09:32:33.735.000       DEBUG  [dist/src/db/src/src/db/MysqlConnectionManager.ts:113]                  SQL: SELECT id FROM migrations ORDER BY id DESC LIMIT 1 
[Node] 2020-11-14 09:32:33.761.000       INFO   [dist/src/components/src/src/components/ExpressAppComponent.ts:23]              Web server running on 127.0.0.1:4899. 
[Node] 2020-11-14 09:32:33.767.000       DEBUG  [dist/src/db/src/src/db/MysqlConnectionManager.ts:113]                  SQL: SELECT 1 FROM migrations LIMIT 1 
[Node] 2020-11-14 09:32:33.769.000       INFO   [dist/src/src/src/ApplicationComponent.ts:35]           Mysql connection ready!

Note: don't forget to update tslog before solving this issue!

Example log from dev console: ```log [Node] 2020-11-14 09:32:33.724.000 INFO [dist/src/src/src/Application.ts:61] Example App v0.22.5 - hi [Node] 2020-11-14 09:32:33.725.000 INFO [dist/src/src/src/Application.ts:49 TestApp.use] Added websocket listener on /magic-link [Node] 2020-11-14 09:32:33.735.000 DEBUG [dist/src/db/src/src/db/MysqlConnectionManager.ts:113] SQL: SELECT id FROM migrations ORDER BY id DESC LIMIT 1 [Node] 2020-11-14 09:32:33.761.000 INFO [dist/src/components/src/src/components/ExpressAppComponent.ts:23] Web server running on 127.0.0.1:4899. [Node] 2020-11-14 09:32:33.767.000 DEBUG [dist/src/db/src/src/db/MysqlConnectionManager.ts:113] SQL: SELECT 1 FROM migrations LIMIT 1 [Node] 2020-11-14 09:32:33.769.000 INFO [dist/src/src/src/ApplicationComponent.ts:35] Mysql connection ready! ``` Note: don't forget to update tslog before solving this issue!
ashpie added the
bug
label 2020-11-14 10:45:48 +01:00
ashpie added this to the v0.23.0 milestone 2020-11-14 10:48:19 +01:00
ashpie self-assigned this 2020-11-14 11:24:42 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
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: ashpie/swaf#6
No description provided.