-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Rodrigo Cremaschi
Sent: Tuesday, December 06, 2005 2:19 PM
To: Deon van der Merwe
Cc: [email protected]
Subject: Re: disable output to stdout

Hi Deon,

    You may try

bearerbox kannel.conf > /dev/null 2>&1 &
smsbox kannel.conf > /dev/null 2>&1 &

    Good luck,

Rodrigo.

On 12/6/05, Deon van der Merwe <[EMAIL PROTECTED]> wrote:
> Hi,
>
> When I run wapbox and bearerbox with log file files configured, I
> still see all the DEBUG output going to stdout.  How can I disable
> this?
>
> Here is how I start wapbox for example:
> "/usr/local/sbin/wapbox /home/kannel/conf/kannel.conf >>
> /home/kannel/wapbox-startup.log 2>&1"

You are starting the boxen directly, they _will_ have their output and
errors sent to stdout and stderr. You should try compiling and  using
start_stop_daemon or try run_kannel_box to start them as _daemons_

You can use run_kannel_box like:
/usr/sbin/run_kannel_box /usr/sbin/bearerbox /etc/kannel/kannel.conf

[NOTE the paths are on my system, use the appropriate paths for yours.
>
> All the log statements are now also present in this
> "wapbox-startup.log" file... why?
>
>





Reply via email to