user3079567
user3079567

Reputation: 27

what's the limit of logfile's size in python

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

Answers (2)

Andrew Cox
Andrew Cox

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

bruno desthuilliers
bruno desthuilliers

Reputation: 77942

Maximum size of a file is filesystem dependant. There's nothing about it in Python.

Upvotes: 1

Related Questions