* Илья Шипицин <chipits...@gmail.com>:
> > Here is an idea: combine log analysis with a web API. End of problem.
> 
> that was what I was going to implement.
> however, I do not like to implement thing that are implemented already.
> so, I did a google search and I asked mailing list.
> 
> seems, I need to implement rest api myself.
> 
> 
> one more question.
> I like text logs. they are fast, and available 100% (comparing, for example
> to some network logging).
> 
> is there a way (I did a seach already) to make logs structured ? something
> like apache access log (field with separator), json, xml, csv ?
> whatever to be machine readable (to make rest api actually read it)

There isn't and it is one of the (very few) shortcomings of Postfix. AFAIK
logging – as it is today – was hard wired into the code, which means if you
would like to add a new way to output it, i.e. alternate format, structure,
you would have to work your way through all the code.

p@rick

-- 
[*] sys4 AG
 
https://sys4.de, +49 (89) 30 90 46 64
Schleißheimer Straße 26/MG,80333 München
 
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer, Wolfgang Stief
Aufsichtsratsvorsitzender: Florian Kirstein
 

Reply via email to