[erlang-questions] Environment variables in sasl.config

Dave Smith dizzyd@REDACTED
Wed May 23 14:29:03 CEST 2007


Greetings,

I've been working through Joe Armstrong's book -- nice work, Joe! One
thing that I'm trying to sort out is how avoid hard coding paths into
my sasl.config. I want my log files to be output to a directory, as
defined by an environment variable in the script that starts up my
erlang application. Unfortunately, it seems that only erlang terms can
be used in sasl.config, not functions (such as os:getenv/1). Is there
something I'm missing here?

Thanks,

D.



More information about the erlang-questions mailing list