Log installation procedure
Published: July 3, 2024 - 4:59 PM
Hello, I am currently creating a package.
In the installation procedure (def install), I have print statements and functions that generate logs (text files, PowerShell scripts, etc.). Not all logs are reported in the Tasks tab of the WAPT console. Can I attach to a logger (I saw that there's the "wapttasks" logger) or is there a way to control what is logged and sent to the server?
THANKS!
Florian
In the installation procedure (def install), I have print statements and functions that generate logs (text files, PowerShell scripts, etc.). Not all logs are reported in the Tasks tab of the WAPT console. Can I attach to a logger (I saw that there's the "wapttasks" logger) or is there a way to control what is logged and sent to the server?
Code: Select all
logger = logging.getLogger('waptcore')
tasks_logger = logging.getLogger('wapttasks')
THANKS!
Florian