# Log messages with INFO verbosity level not showing in Service Server nodes

**URL:** <https://get-help.theconstruct.ai/t/log-messages-with-info-verbosity-level-not-showing-in-service-server-nodes/20912>\
**Category:** ROSDS Support\
**Created:** [December 8, 2022, 5:57am UTC](https://get-help.theconstruct.ai/t/log-messages-with-info-verbosity-level-not-showing-in-service-server-nodes/20912 "2022-12-08T05:57:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![e.na.hatem](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/e.na.hatem/32/4907_2.png) [@e.na.hatem](https://get-help.theconstruct.ai/u/e.na.hatem)\
**Post date:** [December 8, 2022, 5:57am UTC](https://get-help.theconstruct.ai/t/log-messages-with-info-verbosity-level-not-showing-in-service-server-nodes/20912/1 "2022-12-08T05:57:28Z")

</div>

Hello,

I am having trouble with log message with INFO verbosity level in service server nodes. They show up normally in subscriber-publisher nodes but they don’t for service server nodes. I am using this line of code in the callback function:  
`self.get_logger().info('This is my message')`  
Should the verbosity be changed for service server nodes to see the messages ?  
If so, how can I do it in ROS2 ?

Thank you

---

<div class="post-metadata">

**Author:** ![girishkumar.kannan](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/girishkumar.kannan/32/6994_2.png) [@girishkumar.kannan](https://get-help.theconstruct.ai/u/girishkumar.kannan)\
**Post date:** [December 8, 2022, 6:18am UTC](https://get-help.theconstruct.ai/t/log-messages-with-info-verbosity-level-not-showing-in-service-server-nodes/20912/2 "2022-12-08T06:18:36Z")

</div>

Hi @e.na.hatem ,

Logging happens in 5 different levels : **DEBUG, INFO, WARN, ERROR, FATAL**  
Setting the level to **DEBUG** will display all messages.  
But, setting the level at, for example, **WARN** will only display that level and onwards, that is, WARN, ERROR and FATAL.

If you cannot see **INFO** messages, I am assuming that your logging level is set to **WARN** level.  
Change it back to **INFO** and you should be back to normal.

On the other hand, if the logging is set at INFO and your print message is not showing up, it means that your program is not getting to that point in the code - which means you need to fix your code.

Regards,  
Girish

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [December 15, 2022, 6:18am UTC](https://get-help.theconstruct.ai/t/log-messages-with-info-verbosity-level-not-showing-in-service-server-nodes/20912/3 "2022-12-15T06:18:47Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
