Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Hi, I'Ve Recently Started Using The

Hi,

I've recently started using the StroageManager as a utility in my algorithm development code. Lately I've noticed something strange:
I use the builtin logging module like so: logging.info (msg)
i.e. I use the root logger.

I configure it to have two handlers:

  • Console (specifically from rich.logging import RichHandler )
  • File ( logging.FileHandler )
    Now, initially everything works as expected, messages get logged to both console and file, but after the first call to StorageManager().get_local_copy() the messages are only logged to console and not to the file.
    I set the environment variable: CLEARML_LOG_LEVEL=INFO
    I also checked and before and after the StorageManager().get_local_copy() call, the root logger's level and propagate attributes are not changed.
    Also tried calling flush() on the file handler, did not help.
  
  
Posted 4 months ago
Votes Newest

Answers 10


the log file is:

  
  
Posted 4 months ago

load_dotenv() is for aws credentials

  
  
Posted 4 months ago

I use only StorageManager on its own

  
  
Posted 4 months ago

Hi @<1817731748759343104:profile|IrritableHippopotamus34> , are you only using StorageManager or also the Task object? Do you have a code snippet that reproduces this behaviour?

  
  
Posted 4 months ago

remote path is in the form " None "

  
  
Posted 4 months ago

In the console I get:

[04/16/25 09:11:30] INFO     before download                                                                                                                                                                                                                                  reproduce.py:14
[04/16/25 09:11:31] INFO     after download                                                                                                                                                                                                                                   reproduce.py:16
  
  
Posted 4 months ago

Yeah, looks like it reproduces. I suggest opening a GitHub issue to get this fixed 🙂

  
  
Posted 4 months ago

@<1523701070390366208:profile|CostlyOstrich36> Were you able to reproduce this behavior?

  
  
Posted 4 months ago

I also have the following env variables set:

"CLEARML_CACHE_DIR": <path to persistent local directory>
"CLEARML_SUPPRESS_UPDATE_MESSAGE": "1"
"CLEARML_LOG_LEVEL": "INFO"
  
  
Posted 4 months ago

... @<1523701070390366208:profile|CostlyOstrich36> ...

  
  
Posted 4 months ago