Cant find log file for Pyscripts

Ive installed Pyscript via HACS, added the integration and added:

  custom_components.pyscript: info

to the logger section in configuration.yaml file.

Ive copied the hello world script to the pyscript folder and restarted home assistant. Ive called hello world in services with service data as listed and no errors were shown, the ‘Call Service’ button changed to a tick.

But I cant find the info log file.

Im looking in Settings > System > Logs and clicking on the pull down list top right looking for Pyscript there but its not listed.

2 Likes

Hi,

Did you figure out where the pyscript log is?

1 Like

I went to Settings > System > Logs. Top right hand corner set to ‘Home Assistant Core’ then in the Search Logs box typed in pyscript

1 Like

Easier to login to your HA box and run “ha core log” on the command line.

… although I did also have to “Enable debug logging” on the Integration page for this to be reliable!