Hide Forgot
If the glusterfs is started with normal logging mode, then the logs corresponding to selfheal are not printed in the logfile. One need to run in trace mode to get the information. Changes have to be made such that self heal messages are printed (filename, type of selfheal such as data selfheal or meatadata selfheal and the cause which triggered the selfheal) in the log file when run in normal mode itself.
The downside to printing every self-heal is that it can make the log files grow very big. People routinely self-heal terabytes of data and that can easily swell the log file to hundreds of megabytes.
PATCH: http://patches.gluster.com/patch/3850 in master (custer/afr added self-heal logging in normal mode)
PATCH: http://patches.gluster.com/patch/3913 in master (cluster/afr: Logging improvement for self-heal)
Tested the bug by reproducing the bugs 974, 950 with my fix. The self-heal logs showed up with the reason for the self-heal. need to enhance the logs further if these are not enough.