Getting Data In

Is patch for DBX-269 (No handlers could be found for logger spp.java) available?

tsunamii
Path Finder

It appears that this issue still persists in DB Connect 1.1.2:

http://docs.splunk.com/Documentation/DBX/1.1.2/DeployDBX/Releasenotes

Any specific on when this issue will be fixed in a form of either a patch or maintenance release?

I have tried the workaround solution from Answers:

http://answers.splunk.com/answers/109920/splunk6-db-connect-111-no-handlers-could-be-found-for-logge...

However, it is still not resolving the problem. Specifically, I have tried the steps suggested by SplunkIT:

1.) Do not modify the $SPLUNK_HOME/etc/apps/dbx/bin/spp/java/__init__.py file

2.) Instead, add the following entries in $SPLUNK_HOME/etc/apps/dbx/bin/spp/__init__.py (the file is empty by default):


import os, logging
logging.basicConfig(level=logging.DEBUG,
filename=os.path.join(os.environ["SPLUNK_HOME"], "var", "log", "splunk", "jbridge.log"),
format="%(asctime)s %(levelname)s %(message)s", filemode="a")

0 Karma

btsay_splunk
Splunk Employee
Splunk Employee

In bin/spp/java/__init__.py add the following lines:

import os, logging

filename=os.path.join(os.environ["SPLUNK_HOME"], "var", "log", "splunk", "jbridge.log")

format="%(asctime)s %(levelname)s %(message)s"

logging.basicConfig(level=logging.ERROR, filename=filename, format=format, filemode="a")

logger=logging.getLogger("spp.java")

btsay_splunk
Splunk Employee
Splunk Employee

I have broken them into multiple lines. so it should be easy to do copy&paste now.

0 Karma

tsunamii
Path Finder

@btsay_splunk: Anyway you can attach the necessary __init__.py file/s for me to use instead? It appears that every time I do a copy and past, something would get screwed up. Unfortunately, I am not that familiar with python coding.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...