Updated Logging template

On a production system where there are a lot of nodes, logs produced by ES quickly fill local disk. Rather than creating a cronjob or clean-up script. It should be possible for a user to determine weather logging is turned on and also to set ES to only retain a certain number of days of logs via log4j.