<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Logger Failure : Not able to log messages. in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/logger-failure-not-able-to-log-messages/m-p/6713548#M1719</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using logger&amp;nbsp; to log files and i'm not able to see any messages in the log files,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the 2 log files I am looking in,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;/opt/sdn/virgo/serviceability/logs/log.log&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;/var/log/sdn/virgo/logs/log.log&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Followed the steps provided in pdf for logger at page 100 "&lt;FONT color="#FF6600"&gt;Debugging with logs&lt;/FONT&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what I followed, line,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;logger.info("Chethan&amp;nbsp; Device {} added", device);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for at least my name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know is there any other log files to look-in or am I missing some thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan&lt;/P&gt;</description>
    <pubDate>Thu, 26 Feb 2015 15:39:16 GMT</pubDate>
    <dc:creator>Chethan_R</dc:creator>
    <dc:date>2015-02-26T15:39:16Z</dc:date>
    <item>
      <title>Logger Failure : Not able to log messages.</title>
      <link>https://community.hpe.com/t5/software-defined-networking/logger-failure-not-able-to-log-messages/m-p/6713548#M1719</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using logger&amp;nbsp; to log files and i'm not able to see any messages in the log files,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below are the 2 log files I am looking in,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;/opt/sdn/virgo/serviceability/logs/log.log&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#808080"&gt;/var/log/sdn/virgo/logs/log.log&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Followed the steps provided in pdf for logger at page 100 "&lt;FONT color="#FF6600"&gt;Debugging with logs&lt;/FONT&gt;".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is what I followed, line,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;logger.info("Chethan&amp;nbsp; Device {} added", device);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for at least my name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know is there any other log files to look-in or am I missing some thing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance,,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chethan&lt;/P&gt;</description>
      <pubDate>Thu, 26 Feb 2015 15:39:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/logger-failure-not-able-to-log-messages/m-p/6713548#M1719</guid>
      <dc:creator>Chethan_R</dc:creator>
      <dc:date>2015-02-26T15:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: Logger Failure : Not able to log messages.</title>
      <link>https://community.hpe.com/t5/software-defined-networking/logger-failure-not-able-to-log-messages/m-p/6760410#M1720</link>
      <description>&lt;P&gt;If you instantiate your logger as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;private org.slf4j.Logger logger = LoggerFactory.getLogger(getClass());&lt;/PRE&gt;&lt;P&gt;and log information in your event() method as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;logger.info("Chethan Device {} added");&lt;/PRE&gt;&lt;P&gt;you should see "Chethan Device {} added" in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;/opt/sdn/virgo/serviceability/logs/log.log&lt;/PRE&gt;&lt;P&gt;whenever your app's event() method is triggered. You should be able to grep the results to filter the log and find lines with your name.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jun 2015 14:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/logger-failure-not-able-to-log-messages/m-p/6760410#M1720</guid>
      <dc:creator>ssrirama</dc:creator>
      <dc:date>2015-06-30T14:10:42Z</dc:date>
    </item>
  </channel>
</rss>

