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(' ',@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, [email protected] ; 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.