# SQLite2: LoggingOn with non-existent directory causes crash

**URL:** <https://clarionhub.com/t/sqlite2-loggingon-with-non-existent-directory-causes-crash/8718>\
**Category:** questions\
**Tags:** sqlite, drivers\
**Created:** [October 22, 2025, 1:03pm UTC](https://clarionhub.com/t/sqlite2-loggingon-with-non-existent-directory-causes-crash/8718 "2025-10-22T13:03:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JonW](https://clarionhub.com/user_avatar/clarionhub.com/jonw/32/1344_2.png) [@JonW](https://clarionhub.com/u/JonW)\
**Post date:** [October 22, 2025, 1:03pm UTC](https://clarionhub.com/t/sqlite2-loggingon-with-non-existent-directory-causes-crash/8718/1 "2025-10-22T13:03:13Z")

</div>

I added a LoggingOn command while was testing the changes I had to make. like LoggingOn(somedatafile,'C:\temp\email.log')

If someone runs it who doesn't have a C:\temp directory, they get a spinning circle for a few seconds, then the program just goes away. Probably not the most useful behaviour.

---

<div class="post-metadata">

**Author:** ![Bruce](https://clarionhub.com/letter_avatar_proxy/v4/letter/b/ccd318/32.png) [@Bruce](https://clarionhub.com/u/Bruce)\
**Post date:** [October 22, 2025, 2:44pm UTC](https://clarionhub.com/t/sqlite2-loggingon-with-non-existent-directory-causes-crash/8718/2 "2025-10-22T14:44:40Z")

</div>

noted … … … … … … … … … …
