[ 
https://issues.apache.org/jira/browse/CAMEL-12650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhenhao Li updated CAMEL-12650:
-------------------------------
    Description: 
There are some possible copy and paste errors in the log messages (The logging 
statement was copied from an old place to a new place, but the message wasn't 
changed to adapt to the function of the new place) which may cause confusion 
when operators are reading the log messages. 

 

Here is a list of the related logging statements:

 

*1. LOG.info("Crafting standard response in StockQuoteResponseProcessor");*

      *Callsites:*
 * 
org.apache.camel.component.spring.ws.{color:#205081}*{color:#205081}StockQuoteResponseProcessor{color}*.{color}process,

 * 
org.apache.camel.component.spring.ws.processor.*{color:#205081}OkResponseProcessor{color}*.process

 

*2. log.debug("Created FTPClient [connectTimeout: {}, soTimeout: {}, 
dataTimeout: {}, bufferSize: {}" + ", receiveDataSocketBufferSize: {}, 
sendDataSocketBufferSize: {}]: {}";*

      *Callsites:*
 * 
org.apache.camel.component.file.remote.*{color:#d04437}{color:#205081}FtpEndpoint{color}{color}*.createRemoteFileOperations,

 * 
org.apache.camel.component.file.remote.*{color:#205081}FtpsEndpoint{color}*.createRemoteFileOperations,

 

*3. LOG.debug("Adding to producer service pool with key: {} for producer: {}", 
endpoint, answer);*

      *Callsites:*
 * org.apache.camel.impl.*{color:#205081}ProducerCache{color}*.doGetProducer,

 * 
org.apache.camel.impl.*{color:#205081}ConsumerCache{color}*.doGetPollingConsumer

 

*4. LOG.debug("Trying to update the post {} with id {}", 
exchange.getIn().getBody(), this.getConfiguration().getId());*

      *Callsites:*
 * 
org.apache.camel.component.wordpress.producer.{color:#205081}*WordpressPostProducer*.{color}processUpdate,

 * 
org.apache.camel.component.wordpress.producer.{color:#205081}*WordpressUserProducer*.{color}processUpdate

 

*5. LOG.error("Create a specific pod require specify a namespace name");*

      *Callsites:*
 * 
org.apache.camel.component.kubernetes.pods.KubernetesPodsProducer.*{color:#205081}doCreatePod{color},*

 * 
org.apache.camel.component.kubernetes.deployments.KubernetesDeploymentsProducer.*{color:#205081}doCreateDeployment{color}*

 

*6. LOG.debug("Channel closed but no message received from address: {}", 
producer.getConfiguration().getAddress());*

      *Callsites:*
 * 
org.apache.camel.component.netty.handlers.ClientChannelHandler.*{color:#205081}channelClosed{color},*

 * 
org.apache.camel.component.netty4.handlers.ClientChannelHandler.*{color:#205081}channelInactive{color}*

 

 

 

  was:
There are some possible copy and paste errors in the log messages (The logging 
statement was copied from an old place to a new place, but the message wasn't 
changed to adapt to the function of the new place) which may cause confusion 
when operators are reading the log messages. 

 

Here is a list of the related logging statements:

 

*1. LOG.info("Crafting standard response in StockQuoteResponseProcessor");*

      *Callsites:*
 * 
org.apache.camel.component.spring.ws.{color:#205081}StockQuoteResponseProcessor.{color}process,

 * 
org.apache.camel.component.spring.ws.processor.{color:#205081}OkResponseProcessor{color}.process

 

*2. log.debug("Created FTPClient [connectTimeout: {}, soTimeout: {}, 
dataTimeout: {}, bufferSize: {}" + ", receiveDataSocketBufferSize: {}, 
sendDataSocketBufferSize: {}]: {}";*

      *Callsites:*
 * 
org.apache.camel.component.file.remote.{color:#205081}FtpEndpoint{color}.createRemoteFileOperations,

 * 
org.apache.camel.component.file.remote.{color:#205081}FtpsEndpoint{color}.createRemoteFileOperations,

 

*3. LOG.debug("Adding to producer service pool with key: {} for producer: {}", 
endpoint, answer);*

      *Callsites:*
 * org.apache.camel.impl.{color:#205081}ProducerCache{color}.doGetProducer,

 * 
org.apache.camel.impl.{color:#205081}ConsumerCache{color}.doGetPollingConsumer

 

*4. LOG.debug("Trying to update the post {} with id {}", 
exchange.getIn().getBody(), this.getConfiguration().getId());*

      *Callsites:*
 * 
org.apache.camel.component.wordpress.producer.{color:#205081}WordpressPostProducer.{color}processUpdate,

 * 
org.apache.camel.component.wordpress.producer.{color:#205081}WordpressUserProducer.{color}processUpdate

 

*5. LOG.error("Create a specific pod require specify a namespace name");*

      *Callsites:*
 * 
org.apache.camel.component.kubernetes.pods.KubernetesPodsProducer.{color:#205081}doCreatePod{color},

 * 
org.apache.camel.component.kubernetes.deployments.KubernetesDeploymentsProducer.{color:#205081}doCreateDeployment{color}

 

*6. LOG.debug("Channel closed but no message received from address: {}", 
producer.getConfiguration().getAddress());*

      *Callsites:*
 * 
org.apache.camel.component.netty.handlers.ClientChannelHandler.{color:#205081}channelClosed{color},

 * 
org.apache.camel.component.netty4.handlers.ClientChannelHandler.{color:#205081}channelInactive{color}

 

 

 


> Log messages that do not match with their method function
> ---------------------------------------------------------
>
>                 Key: CAMEL-12650
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12650
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Zhenhao Li
>            Priority: Minor
>
> There are some possible copy and paste errors in the log messages (The 
> logging statement was copied from an old place to a new place, but the 
> message wasn't changed to adapt to the function of the new place) which may 
> cause confusion when operators are reading the log messages. 
>  
> Here is a list of the related logging statements:
>  
> *1. LOG.info("Crafting standard response in StockQuoteResponseProcessor");*
>       *Callsites:*
>  * 
> org.apache.camel.component.spring.ws.{color:#205081}*{color:#205081}StockQuoteResponseProcessor{color}*.{color}process,
>  * 
> org.apache.camel.component.spring.ws.processor.*{color:#205081}OkResponseProcessor{color}*.process
>  
> *2. log.debug("Created FTPClient [connectTimeout: {}, soTimeout: {}, 
> dataTimeout: {}, bufferSize: {}" + ", receiveDataSocketBufferSize: {}, 
> sendDataSocketBufferSize: {}]: {}";*
>       *Callsites:*
>  * 
> org.apache.camel.component.file.remote.*{color:#d04437}{color:#205081}FtpEndpoint{color}{color}*.createRemoteFileOperations,
>  * 
> org.apache.camel.component.file.remote.*{color:#205081}FtpsEndpoint{color}*.createRemoteFileOperations,
>  
> *3. LOG.debug("Adding to producer service pool with key: {} for producer: 
> {}", endpoint, answer);*
>       *Callsites:*
>  * org.apache.camel.impl.*{color:#205081}ProducerCache{color}*.doGetProducer,
>  * 
> org.apache.camel.impl.*{color:#205081}ConsumerCache{color}*.doGetPollingConsumer
>  
> *4. LOG.debug("Trying to update the post {} with id {}", 
> exchange.getIn().getBody(), this.getConfiguration().getId());*
>       *Callsites:*
>  * 
> org.apache.camel.component.wordpress.producer.{color:#205081}*WordpressPostProducer*.{color}processUpdate,
>  * 
> org.apache.camel.component.wordpress.producer.{color:#205081}*WordpressUserProducer*.{color}processUpdate
>  
> *5. LOG.error("Create a specific pod require specify a namespace name");*
>       *Callsites:*
>  * 
> org.apache.camel.component.kubernetes.pods.KubernetesPodsProducer.*{color:#205081}doCreatePod{color},*
>  * 
> org.apache.camel.component.kubernetes.deployments.KubernetesDeploymentsProducer.*{color:#205081}doCreateDeployment{color}*
>  
> *6. LOG.debug("Channel closed but no message received from address: {}", 
> producer.getConfiguration().getAddress());*
>       *Callsites:*
>  * 
> org.apache.camel.component.netty.handlers.ClientChannelHandler.*{color:#205081}channelClosed{color},*
>  * 
> org.apache.camel.component.netty4.handlers.ClientChannelHandler.*{color:#205081}channelInactive{color}*
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to