GithubHelp home page GithubHelp logo

Comments (2)

jrobinAV avatar jrobinAV commented on June 12, 2024

Strategy:

A TaipyLogger object is available in taipy.core.common.logger.
It holds logger already set with a standard message formatting, such as:

[2022-02-20 17:17:42,504][Taipy][INFO] Loading configuration. Filename: 'my_file.toml'
[2022-02-20 17:17:42,504][Taipy][INFO] Configuration 'my_file.toml' successfully loaded.

By default the minimum log level to display is INFO, but it can be overridden providing a logger config. The path of the file config must be set in an environment variable TAIPY_LOGGER_CONFIG_PATH.

logs:

  1. ERROR level
  • all the exceptions raised by the execution of a job.
  • all the errors returned by the config checker.
  1. WARNING level
  • No entity is found when trying to get it from an id.
  • all the warnings returned by the config checker.
  • A data node with no data is read.
  1. INFO level
  • A file configuration is loaded
  • all the infos returned by the config checker.
  • A job is completed
  • A job is skipped
  • A job is forced to be executed
  1. DEBUG level
  • Each manager/scheduler entry point
  • Each Taipy entry point
  • The developer's discretion

from taipy-core.

florian-vuillemot avatar florian-vuillemot commented on June 12, 2024

@jrobinAV we should put it in the doc!

from taipy-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.