[Solved] Python Instagram Auto logger

I have rewrote your code a little bit and it works now: from selenium import webdriver from getpass import getpass from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions as EC chromedriver = “C:\\Users\\Utente\\Desktop\\chromedriver” driver = webdriver.Chrome(chromedriver) usr = input (“Enter Your Email: “) psw = getpass(“Enter Your Password: “) prfl = … Read more

[Solved] using Logback with slf4j [closed]

It’s not entirely clear what you’re asking. SLF4J is a logging API. Log4j and Logback are implementations of that API (Log4j is also a standalone logging framework, of course). Graylog is a log aggregator. If you want to use SLF4J to send logging to Graylog, you will need an implementation that can somehow send log … Read more

[Solved] What is the simplest way to setup a basic logger in python?

Ok, I just made a basic logging configuration module: import logging from logging import info, warning, debug, error logging.basicConfig(format=”%(asctime)s [%(levelname)s] %(message)s”, level=logging.INFO) That’s not much, but now you can just: import basic_logging as log log.info(“hello”) Which outputs useful information by default. This is as simple as it gets, but it uses a real logger, which … Read more