Re: [asterisk-users] Logging different verbosity levels

2022-05-25 Thread Antony Stone
On Wednesday 25 May 2022 at 16:54:43, aster...@phreaknet.org wrote: > On 5/25/2022 10:41 AM, Antony Stone wrote: > > On Wednesday 25 May 2022 at 15:27:38, aster...@phreaknet.org wrote: > >> > >> If I want to log something from the dialplan, I generally send it to a > >> custom log level, as oppos

Re: [asterisk-users] Logging different verbosity levels

2022-05-25 Thread Antony Stone
On Wednesday 25 May 2022 at 15:27:38, aster...@phreaknet.org wrote: > On 5/25/2022 8:11 AM, Antony Stone wrote: > > On Tuesday 24 May 2022 at 01:12:46, Kevin Harwell wrote: > >> So this turned out more complicated than I originally thought! > > > > Wow, thank you very much for: > > > > a) such a

Re: [asterisk-users] Logging different verbosity levels

2022-05-25 Thread Antony Stone
On Tuesday 24 May 2022 at 01:12:46, Kevin Harwell wrote: > So this turned out more complicated than I originally thought! Wow, thank you very much for: a) such a comprehensive answer b) confirming my findings c) most of all, working out why and how all this stuff works (or, perhaps, doesn't).

Re: [asterisk-users] Logging different verbosity levels

2022-05-23 Thread Kevin Harwell
So this turned out more complicated than I originally thought! My expectation: Verbosity gets logged using an "at least" check against the current system's verbose level, which if passed subsequently gets checked against the logging channel's verbose level. Thus only verbose messages with a level

Re: [asterisk-users] Logging different verbosity levels

2022-05-23 Thread Antony Stone
Hi. Does no-one else know either? I thought this was a simple question, and it was just me being unable to find the appropriate documentation to explain how these logging levels work. Please, can anyone help? On Friday 20 May 2022 at 15:33:45, Antony Stone wrote: > Hi. > > I'm trying to use

Re: [asterisk-users] Logging different verbosity levels

2022-05-20 Thread Antony Stone
On Friday 20 May 2022 at 15:33:45, Antony Stone wrote: > Hi. > > I'm trying to use different logging verbosity levels to get dialplan output > into different log files, and there's clearly something I haven't > understood about how Asterisk does this... > > > I have the following in /etc/asteri

[asterisk-users] Logging different verbosity levels

2022-05-20 Thread Antony Stone
Hi. I'm trying to use different logging verbosity levels to get dialplan output into different log files, and there's clearly something I haven't understood about how Asterisk does this... I have the following in /etc/asterisk/logger.conf: [logfiles] logtest.verbose.0 => verbose(0)