| View previous topic :: View next topic |
| Author |
Message |
kalpesh
Joined: 15 Sep 2008 Posts: 7
|
Posted: Wed Sep 24, 2008 12:10 pm Post subject: how to log file give maximum size |
|
|
I am using Pear Log package. When i used to log the events in file and that time file is created but i want my file not exceed than 1236 kb.If it exceeds then it will automatically create new file to log events.
Any help is appreciated.
Thanks in advance. |
|
| Back to top |
|
 |
mark

Joined: 07 Jan 2007 Posts: 1053
|
Posted: Wed Sep 24, 2008 9:00 pm Post subject: |
|
|
There is no built-in facility for such log file rotation in the file handler of the Log package. You have two options:
- implement it yourself (e.g. by extending the file handler)
- request this feature via the bug tracker (the Log authors might add this feature, but also might refuse to add it)
If you implement it yourself, you could propose your addition via the bug tracker, and the Log authors might accept your addition for a new release. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|