Thank you very much for your information regarding -s and -b options. Right now 
I'm using default value (16K) which is not always convenient.

Leonid.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnon Meydav
Sent: Sunday, June 03, 2007 5:16 AM
To: uClinux development list
Subject: RE: [uClinux-dev] busybox syslogd bugs


I didn't solve the circular log crash.
Instead, I side-stepped it by using a different mechanism provided by syslogd 
for limiting the log size.
The busybox syslogd provides two alternatives:
1. Circular buffer
2. Rotating logs

The rotating log seems to be a simpler mechanism, e.g. you can read the log 
with normal filesystem tools, and you can specify on the syslogd command line 
how many logs to save and the size of each one.
In my case, I changed the inittab line to look like this:
   slog:unknown:/sbin/syslogd -n -s 256 -b 2 in order to save two logs of 256K 
each.
Once the main log file is filled, it is renamed to messages.n and a new log is 
started.

More importantly, this mechanism works without crashing on my IXP425 board.

I don't use any additional configuration file other than the command line 
options, so I couldn't help you on that account.

I hope I was at least somewhat helpful,
 - Arnon 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leonid
Sent: Friday, June 01, 2007 04:19
To: uClinux development list
Subject: RE: [uClinux-dev] busybox syslogd bugs

Arnon, did you resolve the problem? Because I bump into the same one.

Another question - how do I specify configuration file for busybox syslogd? 

Leonid.
________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnon Meydav
Sent: Sunday, May 20, 2007 10:17 PM
To: uClinux development list
Subject: RE: [uClinux-dev] busybox syslogd bugs

I saw that someone patched this code in snapgear-3.4.0.
I merged these changes into my 3.3.0 dist and saw that it compiles, but I get a 
segmentation fault when trying to run it on my IXP425 platform.
 - Arnon

________________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnon Meydav
Sent: Sunday, May 20, 2007 15:38
To: uClinux development list
Subject: [uClinux-dev] busybox syslogd bugs Hi, I tried compiling the busybox 
syslogd in snapgear-3.3.0 using a circular buffer.
This enables the busybox option:
CONFIG_FEATURE_IPC_SYSLOG
 
syslogd.c can't compile with this option. Looking at the code, there are some 
blatant (copy-paste?) syntax errors, e.g. using a variable "config" in the 
function doSyslogd, but only defining it in the function load_config.
There are also warnings that are less critical (but annoying), such as using 
funcs that are defined in local.c, but not declaring them anywhere.
 
Has anybody already patched this code, has it been fixed in a later busybox, or 
should I tackle this myself?
 
Thanks,
 - Arnon
-- Disclaimer: --
This e-mail is intended solely for the person to whom it is addressed and may 
contain confidential or legally privileged information. Access to this e-mail 
by anyone else is unauthorized. If an addressing or transmission error has 
misdirected this e-mail, please notify the author by replying to this e-mail 
and destroy this e-mail and any attachments. 
E-mail may be susceptible to data corruption, interception, unauthorized 
amendment, viruses and delays or the consequences thereof. If you are not the 
intended recipient, be advised that you have received this email in error and 
that any use, dissemination, forwarding, printing or copying of this email is 
strictly prohibited.

_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

-- Disclaimer: --
This e-mail is intended solely for the person to whom it is addressed and may 
contain confidential or legally privileged information. Access to this e-mail 
by anyone else is unauthorized. If an addressing or transmission error has 
misdirected this e-mail, please notify the author by replying to this e-mail 
and destroy this e-mail and any attachments. 
E-mail may be susceptible to data corruption, interception, unauthorized 
amendment, viruses and delays or the consequences thereof. If you are not the 
intended recipient, be advised that you have received this email in error and 
that any use, dissemination, forwarding, printing or copying of this email is 
strictly prohibited.
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to