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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...