How big should log files be?

How big should log files be?
Answer
No more than 2 or 3 entries per user action though, unless you are doing batch operations. Don’t put more than 2MB in a file, so the user can email it you. Don’t keep more than 50MB of logs, because it’s probably not your space you are wasting here.
 

Tìm kiếm

Back
Top