emilk / loguru

A lightweight C++ logging library
The Unlicense
1.76k stars 256 forks source link

Can too much logging cause out of memory error? #224

Closed pdd-vn closed 2 years ago

pdd-vn commented 2 years ago

I have a Python application that basically is a while True loop. The loop does make use of loguru. Can my application crash after several days because of logging too much?

emilk commented 2 years ago

Depends on where the log data goes. If you pipe it to a file, then that file can fill up until your disk space runs out. But Loguru itself doesn't hold on to any of the log data that passes through it.