Skip to content

Conversation

@sjakobi
Copy link
Member

@sjakobi sjakobi commented Jul 4, 2016

  • Log the fully qualified command name (/usr/bin/ldd instead of ldd)
  • Log how long the sub-process took to finish

getTime Monotonic takes ~150 ns on my machine while the processes all take > 10 ms. The overhead for the timings is therefore rather negligible.

* Log the fully qualified command name (/usr/bin/ldd instead of ldd)
* Log how long the sub-process took to finish
@sjakobi
Copy link
Member Author

sjakobi commented Jul 6, 2016

As one can see in this example the repeated output of the full command can be a bit overwhelming.

Would it make sense to remove the Run process: … line and only have the Process finished in X ms line?

@mgsloan
Copy link
Contributor

mgsloan commented Aug 6, 2016

I accidentally rebased this atop master instead of merging. But it's on master now! Thanks!

@mgsloan mgsloan closed this Aug 6, 2016
@sjakobi sjakobi deleted the better-process-logging branch August 9, 2016 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants