[Asterisk-Users] Re: Forcing Marker bit

Tony Mountifield tony at softins.clara.co.uk
Thu Jun 1 01:30:48 MST 2006


In article <447E4486.7090504 at digium.com>,
Kevin P. Fleming <kpfleming at digium.com> wrote:
> Ira wrote:
> 
> > I would be happy to do this. Is there something that describes how I
> > might accomplish this.  One of the things I've never quite figured out
> > is how to save the console output and a SIP debug causes way more than
> > one screen of data.
> 
> The logger (via logger.conf) can be configured to save all this output
> to any file you like. If you can't figure it, find a bug marshal in the
> #asterisk channel on FreeNode and they will be happy to help you.

Alternatively, have a look at the "script" command, which is useful in
many contexts, e.g.

# script /tmp/output.txt
Script started, file is /tmp/output.txt
# exec asterisk -rvvvvv
... do asterisky stuff ...
host*CLI> exit
Script done, file is /tmp/output.txt
#

Then everything that went to the terminal is in /tmp/output.txt

Also very useful when using gdb to gather debugging information.

Cheers
Tony
-- 
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org



More information about the asterisk-users mailing list