[asterisk-users] stop log/debug messages into /var/log/messages
Steve Edwards
asterisk.org at sedwards.com
Fri Dec 28 19:22:27 CST 2012
Please don't top-post.
> On Thu, 27 Dec 2012, [Digital^Dude] ® wrote:
>
> I disabled all logger channels but still it logs to /var/log/messages.
> Any hints?
> On Thu, Dec 27, 2012 at 10:48 PM, Steve Edwards
> <asterisk.org at sedwards.com> wrote:
>
> What version of Asterisk?
>
> What does 'logger show channels' show?
>
> Any chance your startup script pipes output through the logger shell command?
On Fri, 28 Dec 2012, [Digital^Dude] ® wrote:
> Asterisk 1.6.2.10
>
> Channel Type Status Configuration
> ------- ---- ------ -------------
> Console Enabled - Warning Notice Error
>
> the init script doesn't pipe in syslog/messages
>
> the /var/log/messages contains only AGI messages.
Did I write it?
Seriously, I thought I was the only one who used syslog() in my AGIs.
I write all my AGIs to use getopt_long() and define '--debug' and
'--verbose' to control the level of logging.
Why do you want to stop the logging? I consider it essential, especially
when something goes bump and you're trying to figure out what happened.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
More information about the asterisk-users
mailing list