Pretty-printing of preferences logs

Added null filter and 4 spaces for pretty-printing the preferences logs.
"logs" now a variable instead of repeating the literal string x times.