

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 2
click for more info
Not enough gems
Cost: 6 gems
1: Log Storage
incomplete
2: Logging to the Console
incomplete
3: Filesystem Logging
incomplete
4: Log Rotation
incomplete
5: Syslog
incomplete
This lesson's interactive features are locked, please to keep using them
There are a lot of good places to keep logs. There are specialized log services, and every major cloud provider has its own approach. We'll start with the basics.
The simplest place to "store" logs is standard output. In the early days of computing, the "console" was often a printer. Imagine logs rolling off onto a pile of paper like it's 1968.
...not very easy to search.
Today, console logs can be redirected to a file or shipped to your cloud provider's logging service. That's often good enough, and if it is, you don't need to overthink storage.
If you don't have specific needs for searching and aggregating old logs, a file on disk or the "default" logging service provided by your cloud provider is probably sufficient for you. If not, look into third party tools or databases that specialize in log management.