Skip to content

Commit

Permalink
Low: jboss: Avoid starting JBoss without rotatelogs when rotate_conso…
Browse files Browse the repository at this point in the history
…le is true
  • Loading branch information
NAKAHIRA Kazutomo committed Oct 3, 2013
1 parent 90122d3 commit 988ba56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion heartbeat/jboss
Expand Up @@ -128,7 +128,8 @@ start_jboss()
if [ $? = 0 ]; then
ocf_log debug "Rotate console log succeeded."
else
ocf_log warn "Rotate console log failed. Starting jboss without console log rotation."
ocf_log err "Rotate console log failed. Avoid starting jboss without console log rotation."
return $OCF_ERR_GENERIC
fi
fi

Expand Down

2 comments on commit 988ba56

@dmuhamedagic
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be marked as Medium. It changes the behaviour of the RA in this particular case.

@knakahira
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I agree.

Please sign in to comment.