Hi All,
Could somebody post his (working) logrotate.d script? I am rotating my
logfiles, but after the rotation, Kannel doesn't seem to write them
anymore. Currently I let logrotate create the new script after
logrotation. How can I logrotate the logs without interrupting Kannel?
Thanks!
/usr/bin/cp log.file. log.file.$(/usr/bin/date +%Y-%m-%d.%H.%M.%S);
/usr/bin/echo $(/usr/bin/date) log.file
-Original Message-
From: Rolandow [EMAIL PROTECTED]
Sent: 10 2007 ?.
To: seik
Subject:Logrotate.d
Hi All,
Could somebody post his (working) logrotate.d script?
the most simple way i i believe is with tail -f log | grep -v enquire-
-Original Message-
From: Ady Wicaksono [EMAIL PROTECTED]
Sent: 10 2007 ?.
To: seik
Subject:enquire-link log
Hi everyone
Is there a simple way to remove enquire-link enquire-link-response from
being
Hi everyone
Is there a simple way to remove enquire-link enquire-link-response from
being displayed from the log file while doing debungging
so we can focus on submit_sm, deliver_sm, ...
--
Regards,
Ady Wicaksono
Email:
ady.wicaksono at gmail.com
http://adywicaksono.wordpress.com/
Hi Seik,
I assume I have to run this in my crontab? What I don't understand is
why Kannel isn't writing to the logs anymore. Is it because it is empty?
Also, under which user should I do this?
I'd appreciate a little more explenation, so I can understand what's
happening.
Thanks!
Kind
Hi
I am interested in doing this as well.
Is there a step-by-step guide on this?
Is it using crontab?
What is killall-HUP?
Thanks!
Peter
_
From: Rolandow [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 10, 2007 5:53 PM
To: users@kannel.org
Subject: Re: Logrotate.d
I already
in case you move the log file of a running daemon as kannel without SIGHUP ,
the output will continue to go into the moved file even its
compressed or deleted.
same will happen if you move or compress apache log when apache server is
running, for example
so the safest for me is just copy the log
I already found it... it was the killall -HUP that I didn't do, that's
because it didn't work. Thanks!
Rolandow wrote:
Hi Seik,
I assume I have to run this in my crontab? What I don't understand is
why Kannel isn't writing to the logs anymore. Is it because it is
empty? Also, under which
---BeginMessage---
Hi Rolandow,
Here is my logrotate.d script for kannel log files
/your_path/kannel.log /your_path/sqlbox.log /your_path/smsbox.log {
daily
missingok
rotate 100
size=50M
compress
delaycompress
olddir /your_path/oldlogs
Hi Rolandow,
Here is my logrotate.d script for kannel log files
/your_path/kannel.log /your_path/sqlbox.log /your_path/smsbox.log {
daily
missingok
rotate 100
size=50M
compress
delaycompress
olddir /your_path/oldlogs
notifempty
create 640
Sorry for the delay.
According with a third party that conducted the testing in our
platforms, the solution posted by info.ubichip did work!
I didn't make the testing myself, so I'll dig a little more about what
they did and how did they come to this conclusion before officially
saying it works,
Whatever your log rotate size is, you will have to « hold » kannel in order
to change the destination of the log. I am making a log rotate each day for
convenient archive, I suggest you not to have to much big log file in order
not to slow down your system.
Hope that help
Regards
OK, can you please give me an example of a Nokia model that works in
US and is supported by Kannel?
Thanks.
On 10/10/07, info.ubichip [EMAIL PROTECTED] wrote:
You could find Nokia for US frequency
-Original Message-
From: Haidut [mailto:[EMAIL PROTECTED]
Sent: mercredi 10 octobre
Hi, I have configured Kannel as a WAP GW and I can see that requests from my
handset's browser do come in to kannel, but I do not see kannel proxying these
requests to the target URL. Could someone help me troubleshoot this or
determine what is missing from my configuration?
Configuration
Hi,
*Alejandro wrote a patch for the generic smsc-http. I have the patch but
couldn't find the doc on how to go about patching smsc-http.c*
*please help.*
**
*Regards*
**
*Kaone.*
You mean patch -p0 my-file.patch ?
Keep in mind that it was made against CVS head, so I'd recommend you
to update your codebase with the latest CVS before attempting it.
Hope it helps,
Alejandro
On 10/10/07, Kaone Mathuba [EMAIL PROTECTED] wrote:
Hi,
Alejandro wrote a patch for the generic
Hello,
i'm suppose i'm facing a similar problem as alexander bukharin below.
kannel is looking for the id905343726889613 and can not find it.
i would be thankfull if someone had an idea where to look for the mistake.
2007-10-10 22:48:28 [17639] [7] DEBUG: DLR[internal]: Looking for DLR
Hi!
Hello,
i'm suppose i'm facing a similar problem as alexander bukharin below.
kannel is looking for the id905343726889613 and can not find it.
i would be thankfull if someone had an idea where to look for the mistake.
2007-10-10 22:48:28 [17639] [7] DEBUG: DLR[internal]: Looking for
Siemens MC75 modem is able to communicate with WVdial but giving no
response in Kannel . There is No response to AT command in Kannel , kindly
suggest me where I am wrong
wvdial.conf is
[Dialer Defaults]
Init1 = ATZ
Init2 = ATV
Modem Type = USB Modem
Baud = 230400
New PPPD = yes
Modem =
Hi, guys,
Here is the principle of a log rotation method wich can rotate the log without
holding the kannel, which may be convenient.
I have written a perl script wich copies the current log file to some other
name and then copies an empty file to the current log file. Thus, there is no
20 matches
Mail list logo