Fixed indentation
Added a log resource definition