Projet

Général

Profil

Révision e29c89c0

IDe29c89c0fa3d2f8bb2213216ba1281bc5fb28141
Parent eb9681a7
Enfant 69422624

Ajouté par Neraud il y a plus de 7 ans

Removed the use of the DEBUG environmant variable, kept only MUNIN_DEBUG

Voir les différences:

plugins/git/git_commit_behind
124 124

  
125 125
plugin_version = "1.0.0"
126 126

  
127
debug = int(os.getenv('MUNIN_DEBUG', os.getenv('DEBUG', 0))) > 0
128
if debug:
127
if int(os.getenv('MUNIN_DEBUG', 0)) > 0:
129 128
    logging.basicConfig(level=logging.DEBUG,
130 129
                        format='%(asctime)s %(levelname)-7s %(message)s')
131 130

  

Formats disponibles : Unified diff