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 16 days ago
Votes Newest

Answers 11


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

  
  
Posted 14 days ago

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

  
  
Posted 14 days 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 13 days 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 12 days 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 10 days ago

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

...

logging {
}

and change what you want

  
  
Posted 10 days ago

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

  
  
Posted 16 days ago

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

  
  
Posted 16 days 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 16 days ago

image

  
  
Posted 16 days ago

amazing, thank you!

  
  
Posted 9 days ago
48 Views
11 Answers
16 days ago
8 days ago
Tags