Skip to content

Double timestamps in runtime action logging #19

@purplecabbage

Description

@purplecabbage

In my runtime action code, I am doing this:

const aioLogger = require('@adobe/aio-lib-core-logging')('@adobe/aio-app-myapps/resolver', { provider: 'debug', level: 'debug' })
...
// and later
aioLogger.debug('resolver got a request')

When I look at the logs, I see this:

2020-03-10T22:35:04.802Z       stdout: 2020-03-10T22:35:04.802Z @adobe/aio-app-myapps/resolver:debug  resolver got a request

With the double time stamp, plus the stream name, plus a verbose debug namespace, there are 100 char before the message.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationgood first issueGood for newcomershelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions