0

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.

1

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.