title: Disable lombok logging when releasing via maven a.k.a as maven driven feature flipping
body: <p>How can I elegantly disable all logs from my project when releasing it via maven ?</p>
  
  <p>I got a library using Lombok, built via maven. I use the @log (shortcut for java.util.Logger) annotation and want to get logs during normal builds and get the logs removed (ideally even not compiled in) in the release version of the lib.</p>
  
  <p>Thx in advance.</p>
  
  <p>This question is indeed larger, it's all about driving feature flipping via maven : enabling or not features in your code based on maven build cycle.</p>