Plugin code should use the plugin runner's LogError() or LogMessage() methods when logging. It automatically includes the plugin's name, and will make it easier to later support log messages generating heka messages in addition to writing to stdout.