On 2019-03-28 phoenixsagar wrote:
> I want to configure postfix such that I get log level 4 for specific ip or
> domain. And for rest of the cases it should give logs of log level 1
> What I tried is :
> debug_peer_level = 4
> debug_peer_list = <ip-address>
> 
> In this case postfix is not providing all debug logs.(May be providing log
> level 2 logs)
> 
> I was expecting that I will get debug logs of level 4 as we get when we set
> smtp_tls_loglevel = 4 <This option gives debug logs for all I want it only
> for specific ip or host>
> 
> Kindly suggest configuration ? feasibility  ?

Please take a step back and describe the actual problem you're trying to
solve instead of what you perceive as the solution. Debug logging in
Postfix should not be required for any normal troubleshooting. What do
you think you need this for exactly?

Regards
Ansgar Wiechers
-- 
"Abstractions save us time working, but they don't save us time learning."
--Joel Spolsky

Reply via email to