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
The structure of context doesn't really matter. Timber no longer cares about a consistent schema, but this is the schema we use in our other libraries.
Let me know if we're missing anything else that might be relevant for the Node environment.
All of our libraries include automatic context to help identify where the logs are coming from. Critical pieces of data are:
hostnamepidIt should look something like this:
{ "level": "info", "message": "Hello world", "context": { "system": { "hostname": "my.host.com", "ip": "123.3.34.33", "pid": 123432432 } }The structure of context doesn't really matter. Timber no longer cares about a consistent schema, but this is the schema we use in our other libraries.
Let me know if we're missing anything else that might be relevant for the Node environment.