0
我啓動Erlang的外殼採用SASL啓動,並用下面的配置文件,但它不會在磁盤上創建一個錯誤日誌:如果我把"."
作爲目錄值爲什麼Erlang sasl應用程序不能正確保存我的日誌文件?
%% rotating log and minimal tty
[{sasl, [
{sasl_error_logger, false},
%% define the parameters of the rotating log
%% the log file directory
{error_logger_mf_dir,"ErrorLogger/erLog"},
%% # bytes per logfile
{error_logger_mf_maxbytes,10485760}, % 10 MB
%% maximum number of logfiles
{error_logger_mf_maxfiles, 10}
]}].
然而,它創建無名日誌在磁盤上:{error_logger_mf_dir,"."}
非常感謝! –