Reputation: 27
In python, what's the limit of log-file's size by default? 10M, 2G, or some other limit?
Where can I find this information in the API? I know the rollback of RotateFileHandlers
, it can configure. Thanks.
Upvotes: 0
Views: 1575
Reputation: 10998
The docs say that the basic logging FileHandler
By default, the file grows indefinitely.
See the link below for more information on the different handlers that are built into python, and how they work.
http://docs.python.org/2/library/logging.handlers.html
Upvotes: 0
Reputation: 77942
Maximum size of a file is filesystem dependant. There's nothing about it in Python.
Upvotes: 1