threefoldtecharchive / jumpscaleX_core

Apache License 2.0
1 stars 6 forks source link

don't auto define appname in logs [unstable] #520

Closed xmonader closed 4 years ago

xmonader commented 4 years ago

instead of auto defining appname in logs we need to let the user think and choose a more meaningful name

waleedhammam commented 4 years ago

we already do this, for example in threebotserver we add j.application.start("threebotserver")

and when we get logs js_logs -a threebotserver tail

also to myworkers, kosmos and builders

if u didn't set it, it will use the default init

more info at: https://github.com/threefoldtech/jumpscaleX_core/tree/unstable/docs/logger

example case:

Screenshot from 2020-02-11 12-54-13