Adaptions for new logging
Cette révision appartient à :
Parent
ada1f74d4c
révision
b95bc3350d
@ -35,8 +35,11 @@ import sys
|
|||||||
import time
|
import time
|
||||||
|
|
||||||
|
|
||||||
logger_name = 'FSTOOLS'
|
try:
|
||||||
logger = logging.getLogger(logger_name)
|
from config import APP_NAME as ROOT_LOGGER_NAME
|
||||||
|
except ImportError:
|
||||||
|
ROOT_LOGGER_NAME = 'root'
|
||||||
|
logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
|
||||||
|
|
||||||
|
|
||||||
__DESCRIPTION__ = """The Module {\\tt %s} is designed to help on all issues with files and folders.
|
__DESCRIPTION__ = """The Module {\\tt %s} is designed to help on all issues with files and folders.
|
||||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur