Following are the situations when LGWR writes to the log file:
i. When a user process commits a transaction.
ii. When redo log buffer is one-third full.
iii. When more than a megabyte of changes are recorded into the redo log buffer.
iv. Before DBWR writes modified blocks to the datafiles.