Martacus / LoggerBot

A bot that logs messages. Nice for keeping them trollers at bay.
7 stars 1 forks source link

SLF4J error on start-up #1

Closed PeroPero316 closed 7 years ago

PeroPero316 commented 8 years ago

Hi!

Your bot seems like something I'd really get usage out of, since we have someone on my server who keeps deleting his messages, removing evidence of his shitposting. I don't even know if this bot is being actively worked on or not, but if you have a solution to my issue I'd be very grateful.

However, as I start up the bot I get the following error:

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

OS: Ubuntu 14.04 LTS Java: java version "1.8.0_91" Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

Thanks!

Martacus commented 8 years ago

This warning message is reported when the org.slf4j.impl.StaticLoggerBinder class could not be loaded into memory. This happens when no appropriate SLF4J binding could be found on the class path. Placing one (and only one) of slf4j-nop.jar, slf4j-simple.jar, slf4j-log4j12.jar, slf4j-jdk14.jar or logback-classic.jar on the class path should solve the problem. SINCE 1.6.0 As of SLF4J version 1.6, in the absence of a binding, SLF4J will default to a no-operation (NOP) logger implementation. If you are packaging an application and you do not care about logging, then placing slf4j-nop.jar on the class path of your application will get rid of this warning message. Note that embedded components such as libraries or frameworks should not declare a dependency on any SLF4J binding but only depend on slf4j-api. When a library declares a compile-time dependency on a SLF4J binding, it imposes that binding on the end-user, thus negating SLF4J's purpose.


As I am not working on the bot atm I will see if I can fix this problem after this weekend. I have a busy exam week and after that a festival im attending. Maybe this helps :)

Baniita commented 8 years ago

Why is this closed? . _. The issue wasn't resolved, was it? At least it wasn't for me. I have the same issue.

NoOne-dev commented 8 years ago

Same issue

Martacus commented 8 years ago

I had no idea people still used this bot, pretty great to see it :), Ill work on it asap!

NoOne-dev commented 8 years ago

You have no idea how much help this is for discord server staff who need a record of what has happened which isn't affected by message clears from bans

Martacus commented 8 years ago

Should be fixed with new patch. Please try.

catomic commented 7 years ago

Im so confused as to what im supposed to do for downloading this bot, pls help

Martacus commented 7 years ago

See the download and setup section in the README, if things dont work out please specify whats wrong

ggrey22 commented 7 years ago

I don't think the readme has been updated, because on mediafire it says the file was uploaded in march and I get the same error still.

Martacus commented 7 years ago

Mhm you are right, ill see what I can do since the depency that I used doesnt allow the use of logging in via accounts anymore

ggrey22 commented 7 years ago

Alright, thank you!

jackmawer commented 7 years ago

Presumably no joy?

Martacus commented 7 years ago

Nope, sorry. The API is too old, loging in into an account is not working anymore. Would mean i have to make a bot that stores it for every client and a website to acces those logs. I might work on this in the future. But right now I dont have too much time because of school and my job. Sorry for all the interested in this bot.