← Dictionary
Dictionary · Dev

What is Logs?

They are time-stamped records of the operations a software performs in the background and the errors it encounters.

Overview

While the software is running, they silently note in a notebook what they are doing in the background. When an error occurs, developers open this notebook and look at what happened at what time. These records are the most important tool for understanding the health of the system.

Analogy: It is like the black box of an airplane; Everything is recorded throughout the flight, and if there is a problem, the records can be examined to understand what happened.

How it works

Thanks to the commands built into the software, every important event is written to a file or database.

Where it is used

It is used in servers, applications and debugging processes.

Commonly confused with

Can be confused with traces; Logs are a record of an event, traces are the path followed by that event.

Frequently asked questions

Why do we need logs?

When the system crashes, the only way to find out why is to read the logs.

Related terms

Related tools

This explanation was written in plain language for TreScout and machine-translated from the Turkish original · the Turkish version prevails. If something looks wrong or missing, write to hello@trescout.com. Read in Turkish →