adobe / adobe/aio-lib-core-logging
Double timestamps in runtime action logging
Open
bug
documentation
good first issue
help wanted
- Dominant language
- JavaScript
- Stars
- 3
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.