title: How to pass application printf messages to /var/log/messages
body: <p>I want to pass application printf log messages to the /var/log/messages.
  Because kernel debug messages can be visible to /var/log/messages.But i am not getting how to pass application printf log messages to the /var/log/messages.
  Can anyone please suggest me how to do this. </p>