 Journaling is the process of storing events in a log before each one is applied to a system.Such logs are called journals.On startup, the journal is read and each event is reapplied to the system, avoiding data loss in the case of system failure or shutdown.