startup time in a weird format

Issue #647 resolved
Desrever Nu created an issue

Last message on shutdown prints this message and I can't understand the format

 INFO  - startup time: 9892 [com.nubits.nubot.bot.NuBotBase:302]

Comments (10)

  1. Desrever Nu reporter
    • changed status to open

    I still see the very same output message logged in stdout ::

    15:26:15.812 [qtp274209419-28 - //localhost:4567/startstop] INFO  - startup time: 13116 [com.nubits.nubot.bot.NuBotBase:302]
    

    It is not clear from this message alone (not talking about src) what does it indicate. Either trace it or make it human readable

  2. Desrever Nu reporter

    I still do not understand why we provide this info at shutdown :) Does it represent how long did it take to startup the bot in ms?

  3. Benjamin Cordes

    yes - perhaps verbose it? idea is to provide some rough statistics for debugging. for example if startupduration was a long time, that might indicate some problem at the beginning etc. one also see total number of orders submitted. one could add a bunch of parameters which describe the session for user purposes or debugging purposes.

  4. Log in to comment