title: Why line number is not printed in exception logs generally for proxys?
body: <p>Why line number is not printed for spring proxys?</p>
  
  <p>Sometimes i get the excpetion in logs i see line number is not printed. I have seen mainly for spring CGLIB proxies. For example
  in below stack trace i see line number is not printed for CustomerServiceBean proxy managed by spring .</p>
  
  <pre><code>at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622)
  at com.xeb.customer.account.CustomerServiceBean$$EnhancerByCGLIB$$5a0112c7.getCustomerDetails(&lt;generated&gt;)
  at com.xeb.customer.account.CustomerUtil.getCustomerDetails(CustomerUtil.java:142)
  </code></pre>
  
  <p>Any idea why ? Is there a configuration to print line number in proxies too ?</p>
  
  <p><strong>Update :-</strong>  I understand proxies are genertaed at run time, so it does not makes sense to print their line(if printed does not matter). But my question
  how can i get the line no of exception in <code>CustomerServiceBean.java</code> which is actual class behind proxy <code>CustomerServiceBean$$EnhancerByCGLIB$$5a0112c7.getCustomerDetails</code>?</p>