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 Do The Following:

Hi, I do the following:
Task.get_current_logger.report_Text("blabla",level=logging.CRITICAL)And query said log with
client = APIClient() result = client.events.get_task_events(task=task_id, batch_size=1000, event_type="log")But the events I get have a event["level"] of DEBUG instead of CRITICAL, why is that?

  
  
Posted 2 years ago
Votes Newest

Answers 5


Many thanks!

  
  
Posted 2 years ago

Great, it is quite important for my use case. If you could also allow task.get_reported_console_output()  to get a log level as input (or minimal log level), I'd be grateful.

  
  
Posted 2 years ago

How about a git Issue? It sounds like it could be useful 🙂

  
  
Posted 2 years ago

Hmm, let me check, there is a chance the level is dropped when manually reporting (it might be saved for internal critical reports). Regardless I can't see any reason we could not allow to control it.

  
  
Posted 2 years ago
495 Views
5 Answers
2 years ago
one year ago
Tags