leo-project / leofs

The LeoFS Storage System
https://leo-project.net/leofs/
Apache License 2.0
1.55k stars 155 forks source link

leo_redundant_manager does not honor log configuration #99

Closed Licenser closed 10 years ago

Licenser commented 11 years ago

I noticed that the redundant manager application does not honor the log configuration. This causes problems when leofs runs in an environment where the ./ directory is not owned by leofs and logs are in a centralized location (like /var/log or /log)

deps/leo_redundant_manager/include/leo_redundant_manager.hrl
154:-define(DUMP_FILE_MEMBERS,   "./log/ring/members.dump.").
deps/leo_redundant_manager/src/leo_redundant_manager.erl
372:                    FileName = ?DUMP_FILE_MEMBERS ++ integer_to_list(leo_date:now()),
yosukehara commented 11 years ago

Thank you for posting the issue. I'll improve and modify that.

yosukehara commented 11 years ago

I have fixed this issue, which will be included in LeoFS v0.16.1.