java - What is the difference between Tracing and Logging? -


from terminology point of view , in general, difference between 'tracing' , 'logging' ?

thanks!

logging not tracing!

logging:

when design big application need have , flexible error reporting perhaps across machines collect log data in centralized way. perfect use case logging application block configure remote trace listener , send log data central log server stores log messages in database, log file or whatever. if use out of process communication limited network performance in best case several thousand logs/s.

tracing:

besides error reporting need trace program flow find out performance bottlenecks , more important when error occurs have chance find out how did there. in ideal world every function have tracing enabled function duration, passed parameters , how far did in function.


Comments

Popular posts from this blog

ruby on rails - RuntimeError: Circular dependency detected while autoloading constant - ActiveAdmin.register Role -

c++ - OpenMP unpredictable overhead -

javascript - Wordpress slider, not displayed 100% width -