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 Everyone, How Can I Make What’S Captured In

Hi everyone, how can I make what’s captured in logging.info () show up in the Console tabs of the experiment details in the WebUI? Currently it seems to capture logging.error() .

  
  
Posted one year ago
Votes Newest

Answers 11


Hi @<1610083512721870848:profile|CleanPelican60> , it should appear there - how are you running your code?

  
  
Posted one year ago

I’m running my code line by line in VSCode’s terminal. Here’s my snippet:

  
  
Posted one year ago

 from clearml import Task
import logging

task = Task.init(
    project_name='abc',
    task_name='abc',
    output_uri=True,  # Does not upload anywhere.
)


logger = task.get_logger()

logging.info('This does not show up')
logging.error('This does show up')
  
  
Posted one year ago

image

  
  
Posted one year ago

@<1523701087100473344:profile|SuccessfulKoala55> could you help me with this please? Thanks! 😄

  
  
Posted one year ago

Wait, why are you getting the task logger and not using it?

  
  
Posted one year ago

@<1523701087100473344:profile|SuccessfulKoala55> This is just an example. In my actual use case, the model training code developed by my team uses the logging module, so I didn’t use the task logger. Also I don’t think the task logger supports different levels of logging

  
  
Posted one year ago

I see. The ClearML module, when loaded, reconfigures the Python logging module - default configuration is in the ClearML logging section of the configuration (see here ). You can try to override parts of it.

  
  
Posted one year ago

@<1523701087100473344:profile|SuccessfulKoala55> Thank you. How can I override this? Do you mean modifying the logging.conf file? And what settings should I change here to make my logging.info () calls show up? Sorry I’m quite new to this.

  
  
Posted one year ago

You can use the clearml.conf file, just add a section there as follows:

...

logging {
}

and change what you want

  
  
Posted one year ago

amazing, thank you!

  
  
Posted one year ago
913 Views
11 Answers
one year ago
one year ago
Tags