Basic TeamCity plugin to log build events
Issue 'mvn package' command from the root project to build your plugin. Resulting package .zip will be placed in 'target' directory.
To install the plugin, put zip archive into /plugins directory and restart the server. Place plugin-buildEvents-logConfig.xml into /config/_logging
Select "plugin-buildEvents-logConfig" logging preset under TeamCity server Administration / Diagnostics. Check logs/teamcity-buildEvents.log TeamCity server log.