<?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 Re: Python logging in splunk in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Python-logging-in-splunk/m-p/21301#M228</link>
    <description>&lt;P&gt;Unfortunately, in 5.0.x,  splunk does not rotate python.log file and is not configurable. You can use a third party log rotation systems, however be careful they do not break Splunk indexing python.log file for its internal index. &lt;/P&gt;</description>
    <pubDate>Wed, 01 May 2013 20:05:08 GMT</pubDate>
    <dc:creator>nmistry_splunk</dc:creator>
    <dc:date>2013-05-01T20:05:08Z</dc:date>
    <item>
      <title>Python logging in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Python-logging-in-splunk/m-p/21299#M226</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am trying to set file roll over for python.log file, similar to other splunk log files.&lt;/P&gt;

&lt;P&gt;I found two links: &lt;CODE&gt;&lt;A href="http://dev.splunk.com/view/splunk-extensions/SP-CAAAEA9" target="test_blank"&gt;http://dev.splunk.com/view/splunk-extensions/SP-CAAAEA9&lt;/A&gt;&lt;/CODE&gt; and &lt;CODE&gt;&lt;A href="http://splunk-base.splunk.com/answers/80712/logging-from-python-in-splunk" target="test_blank"&gt;http://splunk-base.splunk.com/answers/80712/logging-from-python-in-splunk&lt;/A&gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;These links are helpful. I was looking if it is possible to set the configurations in log-local.cfg file. I tried few options, but none worked.&lt;/P&gt;

&lt;P&gt;Is it possible to define python logging configurations in log-local.cfg?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;Strive&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 17:36:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Python-logging-in-splunk/m-p/21299#M226</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2013-05-01T17:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Python logging in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Python-logging-in-splunk/m-p/21300#M227</link>
      <description>&lt;P&gt;I looked into the script &lt;CODE&gt;/opt/splunk/lib/python2.7/site-packages/splunk/__init__.py&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;From this it is clear that, we can not set any configurations other than level information in [python] stanza.&lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 18:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Python-logging-in-splunk/m-p/21300#M227</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2013-05-01T18:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Python logging in splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Python-logging-in-splunk/m-p/21301#M228</link>
      <description>&lt;P&gt;Unfortunately, in 5.0.x,  splunk does not rotate python.log file and is not configurable. You can use a third party log rotation systems, however be careful they do not break Splunk indexing python.log file for its internal index. &lt;/P&gt;</description>
      <pubDate>Wed, 01 May 2013 20:05:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Python-logging-in-splunk/m-p/21301#M228</guid>
      <dc:creator>nmistry_splunk</dc:creator>
      <dc:date>2013-05-01T20:05:08Z</dc:date>
    </item>
  </channel>
</rss>

