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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...