emilk / loguru

A lightweight C++ logging library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can too much logging cause out of memory error?

pdd-vn opened this issue · comments

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?

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.