log value when parsing config file
Matus UHLAR - fantomas
uhlar at fantomas.sk
Fri Dec 7 15:14:28 CET 2018
On 07.12.18 14:57, Matus UHLAR - fantomas wrote:
>is there an easy way to log value of a variable when parsig config file?
>
>I have problems with setting up @mynetworks reading from file
>and would like to see if it works properly.
>
>something like
>
>log("value of \@mynetworks is: @mynetworks");
I was able to do it this way:
&Amavis::Util::do_log(0,"value of \@mynetworks is ".join(' ', at mynetworks));
however, the log was sent to terminal where I have started amavis, not to
system log.
Still better than nothing, but syslog would be better.
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name.
More information about the amavis-users
mailing list