---
# System prepended metadata

title: 7/1

---

# 7/1

{%hackmd 1lpg7PuqRoaui6XyJcrylw %}
* Logging 使用參考
1. [Basic Logging Tutorial](https://docs.python.org/3/howto/logging.html#basic-logging-tutorial)
2. [Using logging in multiple modules](https://docs.python.org/3/howto/logging-cookbook.html)

- cucumber
  - print log 就算沒有 error 要設定config file，否則預設是有error才會print
  - import logging (implement code)
  - 設定logging-level (command) 
  ![](https://i.imgur.com/GIAUTM4.png)
- robot
  - import logging (implement code)
  ![](https://i.imgur.com/KK2ssUq.png)
  - ![](https://i.imgur.com/vyGWSHu.png)
  - 設定logging-level (command) 