Maybe you've rotated the logs and didn't tell kannel?
If you rotate the logs, the processes are attached to the file's node, not
it's name, so it'll continue to log to the renamed file!

I'm not 100% sure about what would happen if you then delete that renamed
file, but it's quite likely that it won't start logging to the "right" file.

Try with a kill -1 <pid> (where <pid> is the box's process id) to each
kannel box. That should tell kannel to restart the logging system.

And also check on whatever happened to the other files. If you have a faulty
filesystem you'll start losing things even more valuable than your logs ;)

Hope it helps,

Alejandro

On Tue, Apr 28, 2009 at 10:11 AM, Elton Hoxha <[email protected]> wrote:

> What about not writing the logs anymore even if the service is still active
> sending and receiving SMS?
>
>
> On Tue, Apr 28, 2009 at 9:56 AM, Alejandro Guerrieri <
> [email protected]> wrote:
>
>> That looks more like a filesystem problem or perhaps human error. Kannel
>> doesn't delete log files.
>> Regards,
>>
>> Alejandro
>>
>> On Tue, Apr 28, 2009 at 9:47 AM, Elton Hoxha <[email protected]> wrote:
>>
>>> Hi guys,
>>>
>>> Is there any internal function in kannel to delete kannel and access
>>> logs? I had 8 log files for all my 4 instances and only two of them were in
>>> the folder today. Why the others disappeared? Any problem if they reach a
>>> specific size? Meanwhile, despite the fact the the processes of bearerbox
>>> are alive, they dont produce any log in the specified folder, I mean sending
>>> and receiving responses of enquiry links.
>>>
>>> Regards
>>> Elton
>>>
>>>
>>
>

Reply via email to