Content deleted Content added
Thumperward (talk | contribs) tag, tidy |
Thumperward (talk | contribs) bolding is not a suicide pact |
||
Line 3:
{{distinguish|Data logger}}
In [[computing]], '''logging''' is the act of keeping a [[wikt:log#Etymology 2|log]] of [[Event (computing)|events]] that occur in a computer system, such as problems, errors or just information on current operations. These events may occur in the [[operating system]] or in other [[software]]. A message or
In the simplest case, messages are written to a file, called a
|archive-date= February 14, 2018}}</ref> Alternatively, the messages may be written to a dedicated logging system or to a [[log management]] software, where it is stored in a database or on a different computer system.
Specifically, a
Many operating systems, software frameworks and programs include a logging system. A widely used logging standard is [[Syslog]], defined in Internet Engineering Task Force (IETF) [[Request for Comments|RFC]] 5424). The Syslog standard enables a dedicated, standardized subsystem to generate, filter, record, and analyze log messages. This relieves software developers of having to design and code their ad hoc logging systems.<ref>{{Cite web|url=https://winscp.net/eng/docs/logging_xml|title=XML Logging :: WinSCP|website=winscp.net}}</ref><ref>{{Cite web|url=https://www.codeproject.com/Articles/28752/Use-XML-for-Log-Files|title=Use XML for Log Files|date=August 22, 2008|website=CodeProject}}</ref><ref>{{Cite web|url=https://learn.microsoft.com/en-us/previous-versions/dotnet/articles/ms972965(v=msdn.10)|title=Turn Your Log Files into Searchable Data Using Regex and the XML Classes|website=learn.microsoft.com}}</ref>
Line 14:
== Event logs ==
It can also be useful to combine log file entries from multiple sources. This approach, in combination with [[statistical analysis]], may yield [[Statistical correlation|correlations]] between seemingly unrelated events on different servers. Other solutions employ network-wide querying and [[report]]ing.<ref>{{Cite web|url=https://learn.microsoft.com/en-us/sql/relational-databases/logs/log-file-viewer|title=Log File Viewer - SQL Server|website=learn.microsoft.com}}</ref><ref name="auto">{{Cite web |title=Extended Log File Format |url=https://www.org/pm --0 user/TR/WD-logfile.html |website=www.w3.org}}</ref>
Line 21:
{{Main|Transaction log}}
Most [[Database|database systems]] maintain some kind of
=== Transaction log analysis ===
Line 41:
==Server log{{anchor|Server}}==
[[File:Apache Log.png|thumb|Apache access log showing Wordpress vulnerability bots]]
A
A typical example is a [[Webserver directory index|web server]] log which maintains a history of page requests. The [[World Wide Web Consortium|W3C]] maintains a standard format (the [[Pm 0--user Common Log Format|Common Log Format]]) for web server log files, but other proprietary formats exist.<ref name="auto"/>Some servers can log information to computer readable formats (such as [[JSON]]) versus the human readable standard.<ref>{{Cite web|url=https://caddyserver.com/|title=How Logging Works - Caddy Documentation|first=Caddy Web|last=Server|website=caddyserver.com}}</ref> More recent entries are typically appended to the end of the file. Information about the request, including [[client (computing)|client]] [[IP address]], request [[Calendar date|date]]/[[time]], [[webpage|page]] requested, [[HTTPs|HTTP]] code, bytes served, [[Pm 0--User agent|user agent]], and [[HTTP referrer|referrer]] are typically added. This data can be combined into a single file, or separated into distinct logs, such as an access log, [[error]] log, or referrer log. However, server logs typically do not collect user-specific information.
Line 66:
== References ==
{{refs}}
{{Authority control}}
|