[asterisk-dev] Asterisk log format

Andrea Spadaccini a.spadaccini at mediatechnologies.it
Sat Dec 23 15:34:55 MST 2006


Hello everyone,
I'm playing around with python, and I'd like to write an Asterisk
logfiles analyzer, that allows to filter Asterisk logs according to
some conditions.

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

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

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

Thanks in advance,

-- 
Andrea Spadaccini
Multimedia Technologies Institute s.r.l.


More information about the asterisk-dev mailing list