Skip to content

Commit d02a2de

Browse files
committed
Using global logger
1 parent 6498dff commit d02a2de

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/ansys/mapdl/core/licensing.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""Module for licensing and license serve checks."""
22

3-
import logging
43
import os
54
import socket
65
import subprocess
76
import time
87

8+
from ansys.mapdl.core import LOG
99
from ansys.mapdl.core.errors import LicenseServerConnectionError
1010
from ansys.mapdl.core.misc import threaded_daemon
1111

@@ -35,10 +35,6 @@
3535
# TODO: Implement a warning for insufficient license rights.
3636

3737

38-
LOG = logging.getLogger(__name__)
39-
LOG.setLevel("CRITICAL")
40-
41-
4238
def check_license_file(timeout=30, verbose=False):
4339
"""Check the output of the license client log for connection error.
4440

0 commit comments

Comments
 (0)