Citizendia
Your Ad Here

In software engineering, tracing is a specialized use of logging to record information about a program's execution. Software engineering is the application of a systematic disciplined quantifiable approach to the development operation and maintenance of Software. Data logging is the practice of recording sequential Data, often chronologically. This information is typically used by programmers for debugging purposes, and additionally, depending on the type and detail of information contained in a trace log, by experienced system administrators or technical support personnel to diagnose common problems with software. A programmer is someone who writes Computer software. The term computer programmer can refer to a specialist in one area of computer programming or to a generalist A system administrator, systems administrator, or sysadmin, is a person employed to maintain and operate a Computer system and/or network. Technical support (also tech support) is a range of services providing assistance with technology products such as mobile phones televisions Computers Tracing is a cross-cutting concern. In Computer science, cross-cutting concerns are aspects of a program which affect (crosscut other concerns.

There is not always a clear distinction between tracing and other forms of logging, except that the term tracing is almost never applied to logging that is a functional requirement of a program (therefore excluding logging of data from an external source, such as data acquisition in a high-energy physics experiment, and write ahead logging). In Software engineering, a functional requirement defines a function of a Software system or its component Data acquisition is the sampling of the real world to generate data that can be manipulated by a computer Particle physics is a branch of Physics that studies the elementary constituents of Matter and Radiation, and the interactions between them In Computer science, write ahead logging (WAL is a family of techniques for providing atomicity and durability (two of the ACID properties Logs that record program usage (such as a server log) or operating system events primarily of interest to a system administrator (see for example Event Viewer) fall in a gray area with regards to terminology. A server log is a log file (or several files automatically created and maintained by a server of activity performed by it An operating system (commonly abbreviated OS and O/S) is the software component of a Computer system that is responsible for the management and coordination Event Viewer is a component of Microsoft 's Windows NT line of operating systems that lets administrators and users view the event logs on a local or This article deals with tracing that is primarily for debugging or diagnostic purposes.

Contents

Event logging versus tracing

Difficulties in making a clear distinction between event logging and software tracing arise from the fact that the some of the same technologies can be used for both, and further because many of the criteria that distinguish between the two are continuous rather than discrete. The following table lists some important, but by no means precise or universal, distinctions that are used by developers to select technologies for each purpose, and that guide the separate development of new technologies in each area:

Event logging Software tracing
Consumed primarily by system administrators Consumed primarily by developers
Logs "high level" information (e. g. failed installation of a program) Logs "low level" information (e. g. a thrown exception)
Must not be too "noisy" (contain many duplicate events or information not helpful to its intended audience) Can be noisy
A standards-based output format is often desirable, sometimes even required Few limitations on output format
Event log messages are often localized Localization is rarely a concern
Addition of new types of events, as well as new event messages, need not be agile Addition of new tracing messages must be agile

Event logging

Event logging provides system administrators with information useful for diagnostics and auditing. Exception handling is a programming language construct or computer hardware mechanism designed to handle the occurrence of a condition that changes the normal flow of execution Standardization (or standardisation) is the process of developing and agreeing upon technical standards. In Computing, Internationalization and localization (also spelled internationalisation and localisation, see spelling differences) are means of adapting The most general definition of an audit is an evaluation of a person organization system process project or product The different classes of events that will be logged, as well as what details will appear in the event messages, are often considered early in the development cycle. Many event logging technologies allow or even require each class of event to be assigned a unique "code", which is used by the event logging software or a separate viewer (e. g. , Event Viewer) to format and output a human-readable message. This facilitates localization and allows system administrators to more easily obtain information on problems that occur.

Because event logging is used to log high-level information (often failure information), performance of the logging implementation is often less important.

A special concern, preventing duplicate events from being recorded "too often" is taken care of through event throttling.

Software tracing

Software tracing provides developers with information useful for debugging. This information is used both during the development cycle and after the software is released. Unlike event logging, software tracing usually does not have the concept of a "class" of event or an "event code". Other reasons that event logging solutions based on event codes are inappropriate for software tracing include:

Another important consideration for software tracing is performance. Because software tracing is low-level, the possible volume of trace messages is much higher. To address performance concerns, it often must be possible for software tracing to be turned off, either at compile-time or run-time. A compiler is a Computer program (or set of programs that translates text written in a computer language (the source language) into another

Other special concerns:

Technologies and techniques

Software tracing:

Event logging:

Appropriate for both:

Aspect-oriented programming ( AOP) is a Programming paradigm that increases modularity by allowing the separation of Cross-cutting concerns In context of Computer programming, instrumentation refers to an ability to monitor or measure the level of a product's performance to diagnose errors and writing trace information The Windows software trace preprocessor (abbreviated WPP; the preprocessor and related support tools are known as WPP Software Tracing) is a Preprocessor syslog is a standard for forwarding log messages in an IP network. Microsoft Windows is a series of Software Operating systems and Graphical user interfaces produced by Microsoft. Windows Vista (ˈvɪstə is a line of Operating systems developed by Microsoft for use on Personal computers including home and business desktops Visual Basic.NET ( VBNET) is an object-oriented Computer language that can be viewed as an evolution of Microsoft's Visual Basic
© 2009 citizendia.org; parts available under the terms of GNU Free Documentation License, from http://en.wikipedia.org
Dapyx Software network: MP3 Explorer | Ebook Manager | Zenithic