Andrea Spadaccini wrote:
Do all Asterisk logfiles (verbose, error, warning, notice etc..) follow
the same convention?

Right now, I think that the format is

TIME DATE LEVEL[PID] FILENAME: ERROR_TEXT

Yes. However, there is an option to disable timestamps in the logs, but I can't imagine any reason people would want to do that.

but sometimes this line has a dot as the first character, and sometimes
there's just
  -- sometext

I have no idea why a log message would begin with a dot. Can you provide an example? Also, lines beginning with " -- sometext" look like the types of "verbose" messages shown on the console. However, when verbose messages go to the log files, they should follow the same format as other messages, with a type of VERBOSE. So, if you have examples of those, we can look at those, too.

Can I safely assume the format I described above as the Asterisk log
file format?

Yes.

--
Russell Bryant
Software Engineer
Digium, Inc.
begin:vcard
fn:Russell Bryant
n:Bryant;Russell
org:Digium, Inc.
adr:;;150 West Park Loop;Huntsville;AL;35806;USA
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;work:+1-256-428-6000
x-mozilla-html:FALSE
url:http://www.digium.com
version:2.1
end:vcard

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to