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
Post a Comment