<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">hi everybody,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">erlang newbie here. I am having a hard time telling my erlang application to pick up the sasl configuration that i pass through command line arguments.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I created a release and am able to start the application with "<b>bin/werl -AppName -config sasl.config</b>. The config i am using is from joe's book "programming erlang":</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>%% rotating log and
minimal tty</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>[{sasl, [</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>{sasl_error_logger, false},</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>%% define the parameters of the rotating log</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>%% the log file directory</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>{error_logger_mf_dir,"/home/joe/error_logs" },</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>%% # bytes per logfile</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times,
serif"><b>{error_logger_mf_maxbytes,10485760}, % 10 MB</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>%% maximum number of logfiles</b></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><b>{error_logger_mf_maxfiles, 10}</b></font></div><div><b><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">]}].</font><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"> </font></b></div><div><b><font class="Apple-style-span" face="'times new roman', 'new york', times, serif" size="3"><br></font></b></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">No directory is created and if i create one then no logs are written in it; when i excute sys:get_status(error_logger), i can see that "error_logger_mf_dir" is not listed.</font></div><div><font
class="Apple-style-span" face="'times new roman', 'new york', times, serif">What am i doing wrong?</font></div></div></body></html>