We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Log Storage

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.

Console Logs

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.