Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Knowledge Base

Definitive answers from Designer Desktop experts.

GCSE-205: All log levels return as error in Python production mode

clarab
Alteryx
Alteryx
Created

Environment Details

Using logging library returns as an error for all log levels (warning, debug, info, error, critical) in production mode of Python tool. For example, the logging.info() statement is treated as an error in the production mode of Python tool. When interactive mode is used, this is shown as a warning which is what is expected. Even logging.warning() statement is treated as an error.


image.pngimage.png


image.pngimage.png


image.pngimage.png

  • Alteryx Designer
    • Version(s): 2019, 2020, 2021

 

Cause

Defect GCSE-205 has been logged to address this.

 

Resolution


Solution 1: Workaround for Designer version < 2022.1


As a workaround, please use the interactive mode in the Python tool. Or, use the print() function if this is suitable.
 


Solution 2: Upgrade Designer version


This issue has been addressed in Designer version 2022.1.1. Please upgrade to this version.