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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...