Skip to content

Commit

Permalink
Fixed a non-fatal bug that caused logging to be uninitialized.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jürgen Starek committed Feb 16, 2017
1 parent 349cb23 commit 7bfbc9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/skel/usr/local/bin/writebfids.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def main(configfile = '/etc/dcache/container.conf'):

scriptId = configuration.get('DEFAULT', 'scriptId')

logLevelStr = configuration.get('DEFAULT', 'scriptId')
logLevelStr = configuration.get('DEFAULT', 'logLevel')
logLevel = getattr(logging, logLevelStr.upper(), None)
logger.setLevel(logLevel)

Expand Down

0 comments on commit 7bfbc9b

Please sign in to comment.