You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the server.log function with multiple tags it is not documented in the log entry in the file.
For example - For the following server.log command
server.log(['log','server','start','demo','info','tag1','tag2','tag3'], {message: Server started at ${ server.info.uri }, uri: server.info.uri});
Hi,
When using the server.log function with multiple tags it is not documented in the log entry in the file.
For example - For the following server.log command
server.log(['log','server','start','demo','info','tag1','tag2','tag3'], {message:
Server started at ${ server.info.uri }
, uri: server.info.uri});The good-console will write to the console:
180909/213134.152, [log,log,server,start,demo,info,tag1,tag2,tag3] data: {"message":"Server started at http://computer:50268","uri":"http://computer:50268"}
And the good-bunyan will write to the file (Using the bunyan logger):
{"name":"demo-logger","hostname":"computer","pid":9396,"level":30,"message":"Server started at http://computer:50268","uri":"http://computer:50268","msg":"[log]","time":"2018-09-09T21:31:34.157Z","v":0}
My question is why the tags are not also written to the log in the file?
Attached the code I used in my question (example.zip).
Thanks,
Shay
example.zip
The text was updated successfully, but these errors were encountered: