Search notes:

PowerShell event log

PowerShell has its own event log which can be viewed like so
get-winEvent -logName 'Windows PowerShell' | select-object timeCreated, message
What entries are written into the event log can be controlled by six event log preference variables whose names start with $Log….

Logging module events

Module events can be logged by setting the module's property LogPipelineExecutionDetails to $true:
import-module tq84
(get-module).LogPipelineExecutionDetails = $true

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Windows/...', 1738302697, '3.128.202.252', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Windows/PowerShell/event-log/index(42): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78