Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A basic daily logger to log python projects.

Project description


A basic daily logger to log python projects.


  • Python 3+ (Tested in 3.7)

Install with pip

$ pip install DailyLogger


  1. Import the library.
    from DailyLogger import DailyLogger
  2. Create an instance by defining the path for logfiles, the project name, the level of logging and whether to log to sys.stdout.
    py_logger = DailyLogger(log_subfolder='demo_logs', project_name='demo', log_level='info', should_also_log_to_stdout=True)
  3. Get valid logger and start logging.
    logger = py_logger.get_logger()'Testing 1 2 3 ...')

"Testing 1 2 3 ..." is logged to sys.stdout, as well as to ./demo_logs/demo_<YYYY-MM-DD>.log.

Sample usage is also available as Please refer to it's help for more info.

For help:

python3 -h

To recreate Steps 1-3:

python3 -p demo -f demo_logs -l info -o


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for DailyLogger, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size DailyLogger-0.1.3.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page