We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0c165 commit 3a88d27Copy full SHA for 3a88d27
lib/custom_logger.py
@@ -24,6 +24,11 @@ def setup(self):
24
if 'baseFilename' in handler.__dict__.keys():
25
self.flog = handler.__dict__['baseFilename']
26
self.level = handler.__dict__['level']
27
+ # Temp fix - Optuna+Dask initializes its logger later than expected, which then causes problems here
28
+ try:
29
+ _ = self.flog
30
+ except:
31
+ return
32
# Set up blank-line handlers
33
blank_file_handler = logging.FileHandler(self.flog)
34
blank_stream_handler = logging.StreamHandler(sys.stdout)
0 commit comments