[erlang-questions] Configuring SASL
Jan Henry Nystrom
Sat Jun 9 22:43:40 CEST 2007
The app file is indeed loaded when you start(or load)
the application. It is however not unloaded when you
stop the application, which is where your problems
could be. To unload the application resource file
from a running system you have to use the unload
function in the application module. After that
you can load a new version of the resource file.
If that is not what has muddled the issue for
you, I can only guess without more information.
Kirill Zaborski wrote:
> But isn't app file read every time application is loaded and started?
> If it's neglected what is the purpose of it?
> On 6/9/07, * Jan Henry Nystrom* <
> <mailto:>> wrote:
> Hi Kirill,
> The standard way to change the configuration of applications
> using environment variables is to create a X.config file
> and start your erlang system by:
> erl -config X
> where X is a suitable name for the configuration. The
> file format for config files is described in config(4)
> which you can read using:
> erl -man config
> /Cheers Henry
> Kirill Zaborski wrote:
> > Can anyone explain how can I configure SASL?
> > I've tried to change sasl.app file in lib folder of my Erlang
> > distribution but with no success.
> > What do I do wrong?
> > Best regards,
> > Kirill.
> > _______________________________________________
> > erlang-questions mailing list
> > <mailto:>
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> Jan Henry Nystrom
> Training Manager
> Erlang Training and Consulting Ltd
> 401 Fruit and Wool Exchange,
> Brushfield Street, London,
> E1 6EL, United Kingdom
> Company Registration 3893360 VAT Number GB 752 1091 57
> Tel +44 207 456 1020
> Fax +44 870 1390 779
Jan Henry Nystrom
Erlang Training and Consulting Ltd
401 Fruit and Wool Exchange,
Brushfield Street, London,
E1 6EL, United Kingdom
Company Registration 3893360 VAT Number GB 752 1091 57
Tel +44 207 456 1020
Fax +44 870 1390 779
More information about the erlang-questions